Controlling access to a project

In the previous recipes, we looked at how to use global permissions to control JIRA access and administrator-level access. In this recipe, we will look at how to control project-level permissions, starting with access to projects.

Getting ready

To control project-level access, we use permission schemes. JIRA comes with a Default Permission Scheme, which is applied automatically to all projects. You can use this scheme and update its permission settings directly. For this recipe, we will start with creating a new permission scheme to illustrate how to create a new scheme from scratch. If you want to just use the default scheme, you can skip the first three steps.

How to do it…

We first need to create a new permission scheme, which can be done with the following steps:

  1. Navigate to Administration | Issues | Permission Schemes.
  2. Click on the Add Permission Scheme button.
  3. Enter the new scheme's name and click on Add.

    With the permission scheme created, we then need to grant permissions to users, namely the Browse Projects permission that controls access to projects.

  4. Click on the Permissions link for the new permission scheme.
  5. Click on the Add link for the Browse Projects permission.
  6. Select the permission type to apply; for example, if you want to limit access to only members of a group, you can select the Group option to select the target group and click on Add:
    How to do it…

We can grant permissions to multiple users and groups, and once finished, we can apply the permission scheme to the project we want:

  1. Go to the project you want to apply the permission scheme to and click on the Administration tab.
  2. Select the Permissions option on the left-hand side, and click the Use a different scheme option from the Actions menu.
  3. Select the new permission scheme and click on Associate.

How it works…

Permission schemes define project-level permissions. Unlike global permissions, which can only be granted to groups, these can be granted to specific users, groups, project roles, and more. Once configured, you can apply the scheme to individual projects. This way, different projects can have different permission schemes to suit their needs.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset