[matrix-auth-plugin] Additional security matrix for Views

16 views
Skip to first unread message

Jochen Fuerbacher

unread,
Apr 4, 2016, 3:26:19 AM4/4/16
to Jenkins Developers, jgl...@cloudbees.com
Hi there,

I added a possibility to add matrix-based security also to Views. So a user can remove the right to modify, delete or read a view for other users. Same way like in the project-based security.
However, the current way of doing that isn't very good. You need to choose between matrix security, project-based matrix security or view-based matrix security (in global jenkins security). So if there's project-based security enabled, you can't also modify the view security.

Would'n it be better, to only have matrix security in the jenkins security configuration and still have the possibility so select project-based and view-based matrix security on job configuration or view configuration pages?

I also needed to modify the jenkins core a little bit (View.java and PermissionScope.java).

Matrix-Auth-Plugin: https://github.com/jenkinsci/matrix-auth-plugin/compare/master...Jochen-A-Fuerbacher:ViewMatrixAuthorization
Jenkins-core: https://github.com/jenkinsci/jenkins/compare/master...Jochen-A-Fuerbacher:ViewSecurity

What do you think about that?

Jochen
Reply all
Reply to author
Forward
0 new messages