Book Image

JIRA 6.x Administration Cookbook

By : Patrick Li
Book Image

JIRA 6.x Administration Cookbook

By: Patrick Li

Overview of this book

Table of Contents (16 chapters)
JIRA 6.x Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 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 will first need to enable a special permission type:

  1. Open the permission-types.xml file from the <JIRA_INSTALL>/atlassian-jira/WEB-INF/classes directory in a text editor.

  2. Locate the following lines and uncomment the reportercreate permission type:

    <!--  Uncomment & use this permission to show only projects where the user has create permission...