This tutorial provides a step-by-step guide for creating project roles and using them in an issue security scheme. We recommend creating a test project and two test users for this tutorial.
1.Adding Project Roles
First we need to create project roles for our scheme to use:
Administration -> Users, Groups and Roles -> Project Role Browser -> Add Project Role
- Create a project role called Customer A.
- Create a project role called Customer B.
- Create a project role called My Company.
In this example, the My Company project role will always have the same users/groups for each project. As a result, we'll set default members that will be used for all projects that use this scheme.
- Next to the My Company project role, click Manage Default Members.
- Add the users or groups for your company by clicking Edit next to the appropriate default (users or groups).
2. Adding an Issue Security Scheme
Next, we need to create the issue security scheme which will be hooked to our test project a bit later in this tutorial:
Administration -> Schemes -> Issue Security Schemes -> Add Issue Security Scheme
- Add a new issue security scheme called Customers and My Company Issue Security Scheme.
3. Adding Issue Security Levels
We need to add security levels for this new issue security scheme. These levels will be available for selection to those that have permission to add issue security levels to issues. Users can only see levels of which they are members.
Administration -> Schemes -> Issue Security Schemes -> Click the Security Levels link next to Customers and My Company Issue Security Scheme
First we need to add a level for each customer:
- Add a new issue security level called Customers and My Company.
- Add the Customer A, Customer B and My Company project roles to this issue security level.
- Click Default to make this the Default.
Next, we want a level for internal company eyes only:
- Add another issue security level called My Company
- Add the My Company project role to this issue security level.
4. Associating your Issue Security Scheme with a Project
Explain the step here and use the following syntax and color for menu notations:
Administration -> Project -> Projects -> Click on your test project name
- For the Issue Security Scheme option, click Select.
- Choose the Customers and My Company Issue Security Scheme from the list.
- Click Next.
- If you would like to associate existing issues with a security level, select it from the list, if not leave it at None.
- Click Associate.
5. Adding project-specific members to a project role.
We need to specify the project-specific role members for the Customer A & B project roles.
Administration -> Project -> Projects -> Project Team -> Project Roles -> View Members
- Add the first test user to the Customer A project role by clicking Edit in the Users column.
- Add the second test user to the Customer B project role by clicking Edit in the Users column.
Project roles allow you to use the same permission scheme for multiple projects. We can change the members of project roles via the project!