Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a job as a different user (asUser parameter) #1893

Closed
papagr opened this issue Jun 13, 2016 · 1 comment
Closed

Running a job as a different user (asUser parameter) #1893

papagr opened this issue Jun 13, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@papagr
Copy link

papagr commented Jun 13, 2016

POSTing to /api/12/job/[ID]/executions and using the optional parameter "asUser" used to work fine in Rundeck 2.6.1.

After upgrading to Rundeck 2.6.7, "asUser" parameter is ignored. The job is executed successfully but the user is not the one specified by "asUser".

The API user has "runAs" permission set.

@gschueler gschueler added the bug label Jun 13, 2016
@gschueler gschueler added this to the 2.6.x milestone Jun 13, 2016
@gschueler
Copy link
Member

confirmed, this is a regression

@gschueler gschueler self-assigned this Jun 20, 2016
gschueler added a commit that referenced this issue Jun 21, 2016
fix #1893 runAs should correctly set the user for execution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants