'Jenkins role based strategy is not reflecting

I would like to manage my users in Jenkins with admin.I m planning to do it by Role based strategy in configure global setting option. But i cant see the option even Cloudbees Role Based Access Control Plugin is installed in my plugin list. Any suggestions?

Note: As I am in a env where no internet access, it is very difficult to re install the plugin and try again.

Thanks Jeevan



Solution 1:[1]

I found where the option is to enable Role-based Authorization Strategy plugin after installing the plugin manually.

Checked the plugin is installed already. verify plugin is installed

Step-1: Go to Manage Jenkins from your admin dashboard. Go to Manage Jenkins

Step-2: Select Configure Global Security Select Configure Global Security

Step-3: Under Authorization there will be an option at the bottom like this to select Role-Based Strategy (select that option & Apply & Save) select role based strategy under authorization strategy

you should see Manage and Assign Roles button now. Manage and Assign Roles

select on Manage and Assign Roles and you can see following options to manage users, roles, and strategy based on your requirement. enter image description here

Solution 2:[2]

First, you need to activate Role-Based Strategy.

Go to Manage Jenkins > Configure System screen, then check Enable security and choose Role-Based Strategy in Authorization section:enter image description here

Then you will be available to define and assign roles by using the Manages Roles item which appears in the Manage Jenkins screen.

Of course, if you cannot do all of that, then you just don't have enough privileges.

See the official documentation for more details.

Solution 3:[3]

I too had faced the same problem. Jenkins doesn't come with the Role-Based Strategy plugin by default. We have to install this plugin as per our requirements. Sorry, but for installation, you have to go online, because this plugin requires installation from the web.

After connection, just go to 'Manage Plugins'.

-> Under 'Available', search for "role-based".

-> Now you can see the 'Role-Based Authorization Strategy' plugin, which you can select and then easily install.

I recommend, if no build job is running, you should select the 'Download now and install after restart' options, so that the plugin starts working perfectly right after restarting.

Now, go to 'Configure Global Security'.

-> there you can see now 'Role-Based Strategy' under Authorization which you have to select for enabling Role-based strategy on users.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 dpthegrey
Solution 2 biruk1230
Solution 3