[JIRA] (JENKINS-61425) Role Based access strategy - not consistent

18 views
Skip to first unread message

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 11, 2020, 4:29:03 AM3/11/20
to jenkinsc...@googlegroups.com
Kapil Yadav created an issue
 
Jenkins / Bug JENKINS-61425
Role Based access strategy - not consistent
Issue Type: Bug Bug
Assignee: Oleg Nenashev
Components: role-strategy-plugin
Created: 2020-03-11 08:28
Priority: Major Major
Reporter: Kapil Yadav

Role based access strategy plugin not working as intended. The project roles are not getting updated/assigned to the user.

When we assign any project role or update the project role it does not reflect with the user access ie. User is still not able to access the new role / using old role .

But when we made any change in role definition/permission and then try to access with the user again, the changes comes into effect. That means everytime we give access to any user or update the permissions we need to do some updates in role permissions in order to enable the changes. 

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

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 11, 2020, 4:30:03 AM3/11/20
to jenkinsc...@googlegroups.com
Kapil Yadav commented on Bug JENKINS-61425
 
Re: Role Based access strategy - not consistent

We accessing jenkins via Azure AD integration. 

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 11, 2020, 4:34:02 AM3/11/20
to jenkinsc...@googlegroups.com

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 11, 2020, 4:34:02 AM3/11/20
to jenkinsc...@googlegroups.com
Kapil Yadav updated an issue
 
Change By: Kapil Yadav
Attachment: image-2020-03-11-14-03-40-070.png

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 11, 2020, 4:37:03 AM3/11/20
to jenkinsc...@googlegroups.com
 
Re: Role Based access strategy - not consistent

The conclusion is we needs to click apply/save in manage role , only after the changes in user role comes into effect.

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 11, 2020, 4:38:03 AM3/11/20
to jenkinsc...@googlegroups.com
Kapil Yadav updated an issue
Change By: Kapil Yadav
Role based access strategy plugin not working as intended. The project roles are not getting updated/assigned to the user.

When we assign any project role or update the project role it does not reflect with the user access ie. User is still not able to access the new role / using old role .

But when we made any change in role definition/permission or simply click apply/save in managed roles and then try to access with the user again, the changes comes into effect. That means everytime every-time we give access to any user or update the permissions we need to do some updates in role permissions in order to enable the changes. 

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 12, 2020, 1:27:04 AM3/12/20
to jenkinsc...@googlegroups.com
 
Re: Role Based access strategy - not consistent

We have investigated more and found that the changes i am doing in "assigning role" tab are being written in config.xml of jenkins but somehow not getting reflecting in jenkins untill we apply changes in "manage roles" tab or load configurations from disk.

kapil.yadav@assaabloy.com (JIRA)

unread,
Mar 12, 2020, 2:43:03 AM3/12/20
to jenkinsc...@googlegroups.com

As per my observation this thing is happening for AD as well as local users.

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 16, 2020, 8:25:03 AM3/16/20
to jenkinsc...@googlegroups.com
Oleg Nenashev started work on Bug JENKINS-61425
 
Change By: Oleg Nenashev
Status: Open In Progress
Reply all
Reply to author
Forward
0 new messages