---
description: Generally, in a large organization, there are multiple, separate teams to manage and run jobs in Jenkins. But managing this crowd of users and assigning roles to them can prove troublesome. By default
title: How to Create/Add Users in Jenkins &#038; Manage Permissions
image: https://www.guru99.com/images/how-to-create-add-users-in-jenkins.png
---

 

[Skip to content](#main) 

**⚡ Smart Summary**

Creating users in Jenkins takes four clicks, but assigning different permissions to each of them requires the Role-based Authorization Strategy plugin, which replaces the single global role every built-in Jenkins account otherwise shares.

* 🔘 **Built-in limit:** Jenkins can create many users out of the box, yet every one of them receives the same global privileges.
* ☑️ **Plugin first:** Install Role-based Authorization Strategy, then switch Authorization to Role Based Strategy before any role screen appears.
* ✅ **Three role types:** Global roles cover the whole controller, item roles target jobs and folders, and agent roles target build machines.
* 🧪 **Worked example:** A developer role is created, given permissions, and assigned to the user guru99 on the Assign Roles screen.
* 🛠️ **Pattern matching:** An item role uses a regular expression such as tester.\* so every matching job or user picks the role up automatically.
* ⚙️ **Safety rule:** Keep one account holding Overall/Administer at all times, otherwise saving a role change can lock everybody out.

[ Read More ](javascript:void%280%29;) 

![How to Create and Add Users in Jenkins and Manage Permissions](https://www.guru99.com/images/how-to-create-add-users-in-jenkins.png) 

Generally, in a large organization, there are multiple, separate teams to manage and run jobs in Jenkins. But managing this crowd of users and assigning roles to them can prove troublesome.

By default, Jenkins comes with very basic user creation options. You can create multiple users but can only assign the same global roles and privileges to them. This is not ideal, especially for a large organization.

The **Role Strategy Plugin** enables you to assign different roles and privileges to different users. You will first need to install the plugin in your Jenkins environment, so the walkthrough below covers user creation first, then the plugin, then the role screens it unlocks.

## How to Create/Add a User in Jenkins

Below are the steps to create a new user in [Jenkins](https://www.guru99.com/jenkins-tutorial.html):

**Step 1) Login to Jenkins Dashboard**

Login to your Jenkins dashboard by visiting `http://localhost:8080/`

If you have not installed Jenkins in your local server, go to the appropriate URL and access your dashboard by using your login credentials. The dashboard you land on is shown below.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate1.png)

**Step 2) Choose the option**

You will now see options to create and add a user in Jenkins and manage current users.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate2.png)

**Step 3) Create a new User**

* Under Manage Jenkins, Click Create User
* Enter Jenkins add user details like password, name, email etc.
* Click Create User

**Step 4) User is created**

You will see on the dashboard that a new Jenkins user has been created as per the details entered, as in the user list below.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate3.png)

⚠️ **Version note:** current Jenkins releases list this screen as **Manage Jenkins > Users** rather than _Manage Users_. The **Create User** button and the fields on it are unchanged, and the screen only exists while Jenkins’ own user database is the security realm — an LDAP or single sign-on realm manages accounts externally instead.

## How to Install Role Strategy Plugin in Jenkins

The built-in user screen creates accounts but cannot give them different permissions. That capability arrives with the Role-based Authorization Strategy plugin, installed as follows.

There are two methods for installing plugins in Jenkins:

1. Installing it through your Jenkins dashboard
2. Downloading the plugin from Jenkins website and installing it manually.

**Step 1)** 

1. Go to **Manage Jenkins**
2. Click on the Manage Plugins option

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate4.png)

**Step 2)** 

1. In the available section screen, search for “role”.
2. Select Role**\-based Authorization Strategy** plugin
3. Click on “**Install without restart**” (make sure you have an active internet connection)

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate5.png)

⚠️ **Version note:** the path is now **Manage Jenkins > Plugins** and the tab is labelled **Available plugins**. The search box and the plugin name are the same, so the two steps above still apply.

**Step 3)** 

Once the plugin is installed, a “success” status will be displayed, as the installation screen below shows.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate6.png)

Click on **Go back to the top page.**

**Step 4)** Go to **Manage Jenkins ->** Configure Global Security -> Under **Authorization,** select **Role Based Strategy**. Click on **Save**. The Authorization section looks like this.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate7.png)

In current Jenkins the link to this page is **Manage Jenkins > Security**, and the page itself is still headed _Configure Global Security_ with the same Authorization drop-down.

### RELATED ARTICLES

* [What is Jenkins? Why Use Continuous Integration (CI) Tool? ](https://www.guru99.com/jenkin-continuous-integration.html "What is Jenkins? Why Use Continuous Integration (CI) Tool?")
* [How to Download & Install Jenkins on Windows ](https://www.guru99.com/download-install-jenkins.html "How to Download & Install Jenkins on Windows")
* [What is CI/CD? Continuous Integration and Continuous Delivery ](https://www.guru99.com/continuous-integration.html "What is CI/CD? Continuous Integration and Continuous Delivery")
* [Continuous Integration vs Delivery vs Deployment ](https://www.guru99.com/continuous-integration-vs-delivery-vs-deployment.html "Continuous Integration vs Delivery vs Deployment")

## Types of Roles in the Role Strategy Plugin

Once Role Based Strategy is active, the plugin offers three separate role scopes. Choosing the wrong scope is the most common reason a permission appears to have no effect, so it is worth knowing what each one covers before creating anything.

| **Role type** | **Scope**                                                                        | **Typical use**                                                 |
| ------------- | -------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| Global roles  | The whole Jenkins controller, and they override anything set in item roles       | admin, an authenticated read-only role, anonymous               |
| Item roles    | Jobs, pipelines and folders whose full name matches a regular-expression pattern | Giving one team Build and Configure rights on its own jobs only |
| Agent roles   | Build agents matched by a pattern                                                | Letting a team connect or disconnect its own agents             |

The tutorial below uses a global role for _developer_ and an item role for _tester_. Note the naming: the plugin now calls the second scope **Item roles**, because it covers folders and pipelines as well as plain jobs. Older releases — and the screenshots further down this page — label the same table **Project Roles**.

## How to Manage Users and Roles in Jenkins

Following are the steps on how to manage and assign roles in Jenkins:

**Step 1)** 

1. Go to **Manage Jenkins**
2. Select **Manage and Assign Roles**

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate8.png)

**Note:** that the **Manage and Assign Roles** option will only be visible if you have installed the role strategy plugin and switched Authorization over to Role Based Strategy.

**Step 2)** Click on **Manage Roles** to add new roles based on your organization.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate9.png)

**Step 3)** To create a new role called “developer”,

1. Type “developer” under “role”.
2. Click on “Add” to create a new role.
3. Now, select the Jenkins user permissions you want to assign to the “Developer” role.
4. Click Save

The grid of tick boxes that appears is shown below.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate10.png)

## Jenkins Permission Groups You Can Assign to a Role

The tick boxes on the Manage Roles screen are grouped by the object each permission acts on. The table below explains what each group controls, which makes it far easier to grant the minimum a team actually needs.

| **Permission group** | **What it grants**                                                                                          |
| -------------------- | ----------------------------------------------------------------------------------------------------------- |
| Overall              | Administer, Read and the other controller-wide rights. _Administer_ is full control, so grant it sparingly. |
| Credentials          | Viewing, creating and updating stored credentials                                                           |
| Agent                | Configuring, connecting, disconnecting and deleting build agents                                            |
| Job                  | Build, Cancel, Configure, Create, Delete, Read, Workspace and Move on jobs                                  |
| Run                  | Deleting, replaying and updating an individual build record                                                 |
| View                 | Creating, configuring, deleting and reading dashboard views                                                 |
| SCM                  | Triggering a build from a source-control hook                                                               |

Start every new role with **Overall/Read** plus **Job/Read**. Without those two, a signed-in user sees an empty dashboard even when other permissions are ticked, which is the single most reported confusion with this plugin.

## How to Assign Roles in Jenkins

**Step 1)** Now that you have created roles, let us assign them to specific users.

1. Go to **Manage Jenkins**
2. Select Manage and Assign Roles

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate11.png)

**Step 2)** We shall add the new role “developer” to user “**guru99**”

1. Select the developer role checkbox
2. Click Save

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate12.png)

You can assign any role to any user, as per your need.

## How to Create Project Roles in Jenkins

Global roles apply everywhere. When a permission should apply to one set of jobs only, create a project role instead — the scope the plugin now calls an item role.

You can create project specific roles under **Project Roles.**

**Step 1)** In Jenkins’ Manage and Assign Roles

1. Enter a role as “tester”
2. Add a pattern to this by adding **tester.\***, so that any username starting with “tester” will be assigned the project role you specify.
3. Click Add
4. Select privileges
5. Click Save

The completed Project Roles table is shown below.

[](https://www.guru99.com/images/1/091318%5F0444%5FHowtoCreate13.png)

The pattern is a regular expression matched against the full name of the item, so `tester.*` also matches a folder named _tester-suite_ and everything inside it. Test a new pattern on a throwaway job before applying it to a live [freestyle project](https://www.guru99.com/create-builds-jenkins-freestyle-project.html) or a [pipeline job](https://www.guru99.com/jenkins-pipeline-tutorial.html).

## Matrix-Based Security vs Role-Based Strategy

Role Based Strategy is not the only authorization option in that drop-down. Jenkins ships with matrix-based security built in, and for a small installation it may be all that is needed.

| **Point of comparison** | **Matrix-based security**                                 | **Role-based strategy**                                                |
| ----------------------- | --------------------------------------------------------- | ---------------------------------------------------------------------- |
| Installation            | Built into Jenkins                                        | Needs the Role-based Authorization Strategy plugin                     |
| Unit of assignment      | Each user or group is granted permissions directly        | Permissions belong to a named role, and users are attached to the role |
| Adding the tenth user   | The whole permission row is repeated by hand              | Tick one role checkbox                                                 |
| Per-job control         | Project-based matrix authorization, configured job by job | One item role with a pattern covers every matching job                 |
| Best fit                | A handful of users with near-identical access             | Several teams, many jobs, access that changes as people move           |

The rule of thumb is the number of times a permission is repeated. Once the same tick pattern is being entered for a third user, a role is cheaper to maintain — the same argument that pushes teams from ad-hoc jobs toward a reviewed [CI/CD pipeline](https://www.guru99.com/ci-cd-pipeline.html).

## FAQs

⚡ Why is the Manage and Assign Roles option missing from Manage Jenkins?

Two things must both be true. The Role-based Authorization Strategy plugin has to be installed, and Authorization on the security screen has to be set to Role Based Strategy. The entry stays hidden until the second step is saved.

🔒 What happens if you lock yourself out of Jenkins?

Stop Jenkins, open `config.xml` in JENKINS\_HOME, and replace the `authorizationStrategy` element with `<authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>`, then restart. Always keep one account holding Overall/Administer to avoid needing this.

👥 Can a role be assigned to a group instead of individual users?

Yes. The Assign Roles screen accepts group names as well as user names, so an LDAP or Active Directory group can be attached to a role once and membership then handled entirely in the directory.

🤖 How does AI help audit Jenkins permissions?

Machine learning tools compare granted permissions against what each account actually uses and flag the unused ones, which surfaces over-privileged roles far faster than reading a permission matrix by hand.

🧑 Can GitHub Copilot help manage Jenkins roles?

[GitHub Copilot](https://github.com/features/copilot) writes the Groovy or REST calls that create roles in bulk and drafts pattern expressions for item roles. Review anything it produces before it runs, because a wrong pattern silently widens access.

🗂️ Where are Jenkins users and role settings stored on disk?

Accounts sit under `JENKINS_HOME/users`, one folder per user with a `config.xml` inside. Roles and their permissions live in the main `JENKINS_HOME/config.xml`, so backing up that folder preserves both.

🚫 How do you delete a user or revoke a role in Jenkins?

Delete the account from the users list, which removes the login but not its build history. To revoke access without deleting anything, clear the role checkbox for that user on the Assign Roles screen and save.

🔑 Does the role strategy plugin control credentials as well?

Yes. The Credentials permission group on the Manage Roles screen covers viewing, creating and updating stored secrets, so a role can be allowed to run a job while being blocked from reading the credentials it uses.

#### Summarize this post with:

ChatGPT Perplexity Grok Google AI 

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.** 

##### Sign up for the newsletter

Subscribe for Free 

You have successfully subscribed.  
Please check your inbox. 

![AI-Newsletter]() Chosen by over **350,000+** professionals 

[Scroll to top ](#wrapper)Scroll to top 

× 

Toggle Menu Close 

Search for: 

Search

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/how-to-create-add-users-in-jenkins.png","url":"https://www.guru99.com/images/how-to-create-add-users-in-jenkins.png","width":"700","height":"250","caption":"How to Create/Add Users in Jenkins","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/create-users-manage-permissions.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/jenkins","name":"Jenkins"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/create-users-manage-permissions.html","name":"How to Create/Add Users in Jenkins &#038; Manage Permissions"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/create-users-manage-permissions.html#webpage","url":"https://www.guru99.com/create-users-manage-permissions.html","name":"How to Create/Add Users in Jenkins &#038; Manage Permissions","dateModified":"2026-07-30T11:52:58+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/how-to-create-add-users-in-jenkins.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/create-users-manage-permissions.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/thomas","name":"Thomas Hamilton","description":"I am Thomas Hamilton, a seasoned professional in software testing, specializing in crafting comprehensive guides to help you master your software testing skills.","url":"https://www.guru99.com/author/thomas","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/thomas-hamilton-author-v2-120x120.png","url":"https://www.guru99.com/images/thomas-hamilton-author-v2-120x120.png","caption":"Thomas Hamilton","inLanguage":"en-US"},"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"Jenkins","headline":"How to Create/Add Users in Jenkins &#038; Manage Permissions","description":"Generally, in a large organization, there are multiple, separate teams to manage and run jobs in Jenkins. But managing this crowd of users and assigning roles to them can prove troublesome. By default","keywords":"bigdata, programming, database, server","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/thomas","name":"Thomas Hamilton"},"dateModified":"2026-07-30T11:52:58+05:30","image":{"@id":"https://www.guru99.com/images/how-to-create-add-users-in-jenkins.png"},"copyrightYear":"2026","name":"How to Create/Add Users in Jenkins &#038; Manage Permissions","subjectOf":[{"@type":"HowTo","name":"How to Create/Add a User in Jenkins","description":"Below are the steps to create new user in Jenkins:","step":[{"@type":"HowToStep","name":"Step 1) Login to Jenkins Dashboard","text":"Login to your Jenkins dashboard by visiting http://localhost:8080/","image":{"@type":"ImageObject","url":"https://cdn.guru99.com/images/1/091318_0444_HowtoCreate1.png"},"url":"https://www.guru99.com/create-users-manage-permissions.html#step1"},{"@type":"HowToStep","name":"Step 2) Choose the option","text":"You will now see options to create and add user in Jenkins and manage current users.","url":"https://www.guru99.com/create-users-manage-permissions.html#step2"},{"@type":"HowToStep","name":"Step 3) Create a new User","text":"Under Manage Jenkins, Click Create User","image":{"@type":"ImageObject","url":"https://cdn.guru99.com/images/1/091318_0444_HowtoCreate2.png"},"url":"https://www.guru99.com/create-users-manage-permissions.html#step3"},{"@type":"HowToStep","name":"Step 4) User is created","text":"You will see on the dashboard that a new Jenkins create user as per the details entered.","image":{"@type":"ImageObject","url":"https://cdn.guru99.com/images/1/091318_0444_HowtoCreate3.png"},"url":"https://www.guru99.com/create-users-manage-permissions.html#step4"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Why is the Manage and Assign Roles option missing from Manage Jenkins?","acceptedAnswer":{"@type":"Answer","text":"Two things must both be true. The Role-based Authorization Strategy plugin has to be installed, and Authorization on the security screen has to be set to Role Based Strategy. The entry stays hidden until the second step is saved."}},{"@type":"Question","name":"What happens if you lock yourself out of Jenkins?","acceptedAnswer":{"@type":"Answer","text":"Stop Jenkins, open config.xml in JENKINS_HOME, and replace the authorizationStrategy element with , then restart. Always keep one account holding Overall/Administer to avoid needing this."}},{"@type":"Question","name":"Can a role be assigned to a group instead of individual users?","acceptedAnswer":{"@type":"Answer","text":"Yes. The Assign Roles screen accepts group names as well as user names, so an LDAP or Active Directory group can be attached to a role once and membership then handled entirely in the directory."}},{"@type":"Question","name":"How does AI help audit Jenkins permissions?","acceptedAnswer":{"@type":"Answer","text":"Machine learning tools compare granted permissions against what each account actually uses and flag the unused ones, which surfaces over-privileged roles far faster than reading a permission matrix by hand."}},{"@type":"Question","name":"Can GitHub Copilot help manage Jenkins roles?","acceptedAnswer":{"@type":"Answer","text":"GitHub Copilot writes the Groovy or REST calls that create roles in bulk and drafts pattern expressions for item roles. Review anything it produces before it runs, because a wrong pattern silently widens access."}},{"@type":"Question","name":"Where are Jenkins users and role settings stored on disk?","acceptedAnswer":{"@type":"Answer","text":"Accounts sit under JENKINS_HOME/users, one folder per user with a config.xml inside. Roles and their permissions live in the main JENKINS_HOME/config.xml, so backing up that folder preserves both."}},{"@type":"Question","name":"How do you delete a user or revoke a role in Jenkins?","acceptedAnswer":{"@type":"Answer","text":"Delete the account from the users list, which removes the login but not its build history. To revoke access without deleting anything, clear the role checkbox for that user on the Assign Roles screen and save."}},{"@type":"Question","name":"Does the role strategy plugin control credentials as well?","acceptedAnswer":{"@type":"Answer","text":"Yes. The Credentials permission group on the Manage Roles screen covers viewing, creating and updating stored secrets, so a role can be allowed to run a job while being blocked from reading the credentials it uses."}}]}],"@id":"https://www.guru99.com/create-users-manage-permissions.html#schema-25118","isPartOf":{"@id":"https://www.guru99.com/create-users-manage-permissions.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/create-users-manage-permissions.html#webpage"}}]}
```
