I am using role based security in jenkinks.
what i am wondering is there a to do the following.
Present:
using role based plugin.
under Manager and assign roles
issue is:
Future what i want:
admin Role:
project based:
any new security rights plugin out there, i am using role-based plugin.
any new interesting plugin i can checkout to see which direction i can go?
Matrix-based security is one of the authorization strategies available for securing Jenkins. It allows you to grant specific permissions to users and groups. The available permissions are listed below with their descriptions, and are also available by hovering over the permission heading in the Jenkins UI.
Project-based matrix authorization allows configuring permissions for each item or agent independently. Permission applying to such items or agents that are granted in the global configuration apply to all of them, unless they don't inherit global permissions (see below).
You need this:
First step is install the plugin "Jenkins Role Strategy Plugin".
Second step is reset Jenkins.
Follow the steps:
Obviously, if you need have permissions like administrator, then will put the privileges as appropriate.
Note: If you need put privileges by job, then will must setting for each job in the option "Enable project-based security".
Regards...
@adam,
Take a look at Jenkins Role Strategy Plugin.
This plugin adds a new role-based strategy to ease and fasten users management. This strategy allows:
- Creating global roles, such as admin, job creator, anonymous, etc., allowing to set Overall, Slave, Job, Run, View and SCM permissions on a global basis.
- Creating project roles, allowing to set only Job and Run permissions on a project basis.
- Creating slave roles, allowing to set node-related permissions.
- Assigning these roles to users.
Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With