Reputation: 183
I have created a role called JC role and given access to global role => Overall read & couple of more.
Also created some project level roles Developer & Tester. For Developer, given every access, for Tester only few accesses I have given.
Now, from assign roles, I have assigned Dev1 user to Global JC role & Developer project role. Also assigned Test1 user to global JC role & Developer, Tester project roles.
restarted the jenkins after this.
when tried to login with Dev1, I am able to see corresponding pattern matched jobs only.
When I tried to login through Test1, I am getting "user is missing the Overall/Read permission". Why is that so, I am not able to view anything as tester.
Any pointers or how to resolve this issue?
PS, I am using role bases authorization strategy plugin.
Upvotes: 6
Views: 10657
Reputation: 149
I faced the same problem and this is how I solved it.
Detailed steps: 1. Create a global role called "Read" or anything you wish and give only Overall Read permission. You can do this by /role-strategy/manage-roles or got to Manage Jenkins --> Manage and Assign Roles --> Manage Roles
Make sure to save/apply before you leave the page.
Upvotes: 2