[JIRA] (JENKINS-61902) Slave roles not respected with Authorize Project plugin

4 views
Skip to first unread message

akostadinov@java.net (JIRA)

unread,
Apr 14, 2020, 2:59:02 PM4/14/20
to jenkinsc...@googlegroups.com
akostadinov created an issue
 
Jenkins / Bug JENKINS-61902
Slave roles not respected with Authorize Project plugin
Issue Type: Bug Bug
Assignee: ikedam
Attachments: assign_roles.png, manage_roles.png
Components: authorize-project-plugin
Created: 2020-04-14 18:58
Priority: Critical Critical
Reporter: akostadinov

Using Authorize Project plugin I have setting we have "Project Default build Authorization" set to "Run as User who Triggered Build".

Then I have project roles letting particular users to run specific jobs. To allow said people to also build on the nodes I assign to them Slave role (see assign_roles.png). That Slave role is allowed to build on ".*" nodes (see manage_roles.png). But still when project is triggered from such a user, in the queue a message can be seen:

> 'myusername' lacks permission to run on 'my-node-name-1'

My workaround is to allow global Agent/Build permission to everybody but this is not ideal.

Jenkins 2.190.3
Authorize Project 1.3.0
Role-based Authorization Strategy 2.13

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

akostadinov@java.net (JIRA)

unread,
Apr 14, 2020, 3:00:10 PM4/14/20
to jenkinsc...@googlegroups.com
akostadinov updated an issue
Change By: akostadinov
Attachment: manage_roles.png

akostadinov@java.net (JIRA)

unread,
Apr 14, 2020, 3:01:04 PM4/14/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages