Restricting access to projects based on reporter permissions

As we have seen in one of the previous recipes, the Browse Projects permission controls who can access a project in JIRA. In this recipe, we will set up permissions so that users can only see projects they can create issues in, and not the projects in which they cannot.

Getting ready

Since we will be making direct changes to a JIRA system file, make sure you create backups for any modified files. This recipe will also require a restart of JIRA, so plan this during a time slot that will not affect your users.

How to do it...

To restrict access to projects based on who can or cannot report criterion, you first need to enable a special permission type as follows:

  1. Open the permission-types.xml ...

Get JIRA 7 Administration Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.