Hi,
I have been trying to kick off a job on Horde from another job that runs on a schedule. We need this because the other job is based on another p4 stream so we couldn’t use chained jobs. To do this we added a new command that starts this new job using the Horde authentication token stored in HORDE_TOKEN env var. This works if the kick off job is started by a user but fails if started from a schedule. It fairly well explained in [this [Content removed] why this happens. The error we get is the same: “User does not have {Action} permission for stream {StreamId}”.
But I found this in the Horde documentation which at first glance seems to be the solution to the problem. So I tried adding the following in our configuration but without luck:
{
"templates": [
{
"schedule" : {
"claims": [
{
"type" : "http://epicgames.com/ue/horde/role",
"value" : "start-chained-job"
}
]
}
}
]
}
Am I using this incorrectly. What values does “claims” expect? I was trying to impersonate “start-chained-job” role because it appears to have CreateJob permission which seemed appropriate to what I was trying to do. Note: I inserted just the json lines of interest above.
Thanks, Daniel