Project

General

Profile

RedmineRoles » History » Version 28

Gregor Borsemirk, 2020-09-29 21:17

1 1 Jean-Philippe Lang
h1. Roles & permissions
2
3 25 Go MAEDA
A role is a collection of permissions. It lets you define the permissions that the members have on a [[RedmineProjects|project]].
4
5
Each member of a project has one or multiples Role(s) for the project. If a member has multiple roles in a project, the permissions applied to the member is the combination of all roles' permissions. A user can have different roles for different projects.
6 1 Jean-Philippe Lang
7
You can create new roles or edit existing ones. You can delete a role only if nobody has this role on a project.
8
9 26 Go MAEDA
!{width: 900px;}.roles@2x.png!
10
11 1 Jean-Philippe Lang
h2. Roles properties
12
13
* *Name*: display name of the role
14 2 Jean-Philippe Lang
* *Issues can be assigned to this role*: if unchecked, issues can not be assigned to members with this role on a project.
15 15 Etienne Massip
* *Issues visibility*: assuming that this role includes the ??View Issues?? permission, the following rules apply to the issues of the projects the user is tied to through it:
16 16 Go MAEDA
** _All issues_ : the user can see all issues.
17
** _All non private issues_: the user can see all issues which are not marked as private. This is the default.
18 23 Hinako Tajima
** _Issues created by or assigned to the user_: the user can only see issues created by or assigned to her/him.
19 1 Jean-Philippe Lang
* *Time logs visibility*: assuming that this role includes the ??View spent time?? permission, the following rules apply to the issues of time logs the user is tied to through it: 
20 26 Go MAEDA
** _All time entries_ : the user can see all time logs. This is the default.
21 1 Jean-Philippe Lang
** _Time entries created by the user_ : the user can only see time logs created by or assigned to her/him.
22 22 Hinako Tajima
* *Users visibility*: the user can select the range of other users who can see time logs. It influences list of users in watcher selection screen and propriety of profile page appearance.
23 26 Go MAEDA
** _All active users_ : the user can see all users information who is registered in Redmine. This is the default.
24 23 Hinako Tajima
** _Members of visible projects_ : the user can only see users information who is a member of the project.
25 1 Jean-Philippe Lang
26 5 Jean-Philippe Lang
h2. Permissions
27 1 Jean-Philippe Lang
28
When editing a role, you can define its permissions by checking/unchecking the different actions.
29
30 4 Jean-Philippe Lang
|_. Permission|_. Description|
31
|\2. *_Project permissions_*|
32
|Create project|Allow non-admin users to create a root project
33 13 Graham King
You can specify which role will be automatically given to a non-admin user who creates a project (see [[RedmineSettings#Projects]])|
34 4 Jean-Philippe Lang
|Edit project|Allow user to edit project properties|
35 20 Go MAEDA
|Close / reopen the project | Allow user to close / reopen projects |
36 4 Jean-Philippe Lang
|Select project modules|Allow user to enable/disable project modules (such as issues tracking, wiki, repository...)|
37
|Manage members|Allow user to add/remove project members or change the roles of existing members|
38
|Manage versions|Allow user to add/edit/delete project versions|
39
|Create subprojects|Allow user to add subprojects to the project|
40 20 Go MAEDA
|Manage public queries|Allow user to save/edit/delete public queries|
41 21 Go MAEDA
|Save queries|Allow user to save/edit/delete their private queries|
42 27 Bernhard Rohloff
|\2. *_Forums permissions_*|
43
|View messages|Allow user to view the forums and forum activities|
44
|Manage forums|Allow user to add/edit/delete project forums|
45 4 Jean-Philippe Lang
|Post messages|Allow user to post new topics in forums|
46 8 Mischa The Evil
|Edit messages|Allow user to edit any message and to remove any message attachments|
47 4 Jean-Philippe Lang
|Edit own messages|Allow user to edit its own messages only|
48
|Delete messages|Allow user to delete any topic or reply|
49
|Delete own messages|Allow user to delete its own topics or replies|
50
|\2. *_Documents permissions_*|
51 17 Go MAEDA
|Add documents|Allow user to add project documents|
52
|Edit documents|Allow user to edit project documents|
53
|Delete documents|Allow user to delete project documents|
54 4 Jean-Philippe Lang
|View documents|Allow user to view documents|
55
|\2. *_Files permissions_*|
56
|Manage files|Allow user to add/edit/delete project files under the Files section|
57
|View files|Allow user to view files|
58
|\2. *_Issue tracking_*|
59
|Manage issue categories|Allow user to add/edit/delete issue categories|
60
|View Issues|Allow user to view project issues|
61
|Add issues|Allow user to create new issues|
62
|Edit issues|Allow user to fully edit existing issues|
63 18 Go MAEDA
|Copy issues|Allow user to copy existing issues|
64 7 Mischa The Evil
|Manage issue relations|Allow user to add/remove relations between issues|
65
|Manage subtasks|Allow user to add/remove subtasks to issues|
66 4 Jean-Philippe Lang
|Add notes|Allow user to add comments to existing issues|
67
|Edit notes|Allow user to edit any issue comment|
68
|Edit own notes|Allow user to edit its own comments only|
69
|Delete issues|Allow user to delete issues|
70
|Manage public queries|Allow user to add/edit/delete issue queries that are visible by all users|
71
|Save queries|Allow user to save its own issue queries|
72
|View gantt chart|Allow user to view the gantt chart|
73
|View calendar|Allow user to view the calendar|
74
|View watchers list|Allow user to see who is watching an issue|
75 1 Jean-Philippe Lang
|Add watchers|Allow user to add other users as watchers of an issue|
76
|Delete watchers|Allow user to remove watchers of an issue|
77
|\2. *_News permissions_*|
78 27 Bernhard Rohloff
|View news|Allow user to view the news section and news activities|
79 5 Jean-Philippe Lang
|Manage news|Allow user to add/edit/delete project news|
80
|Comment news|Allow user to add comments to news|
81
|\2. *_Repository permissions_*|
82
|Manage repository|Allow user to configure the project repository|
83
|Browse repository|Allow user to browse and view the content of the project repository|
84 14 Mischa The Evil
|View changesets|Allow user to view the changesets|
85 5 Jean-Philippe Lang
|Commit access|Used by Redmine.pm to give write access to the project repository
86
See [[Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl]]|
87
|\2. *_Time tracking permissions_*|
88
|Log spent time|Allow user to log time on the project|
89
|View spent time|Allow user to view the time logs on the project|
90
|Edit time logs|Allow user to edit any time log|
91
|Edit own time logs|Allow user to edit its own time logs only|
92
|Manage project activities|Allow user add/edit/delete activities|
93
|\2. *_Wiki permissions_*|
94
|Manage wiki|Allow user to create or delete the project wiki
95 11 Tharuka Pathirana
Deleting a wiki is an *irreversible* operation, it deletes all pages, their history and all attached files!|
96 5 Jean-Philippe Lang
|Rename wiki pages|Allow user to rename existing wiki page or assign wiki pages to a parent page|
97
|Delete wiki pages|Allow user to delete wiki pages
98
Deleting a wiki page is an *irreversible* operation, the page and all its history are deleted!|
99 1 Jean-Philippe Lang
|View wiki|Allow user to view the wiki|
100 7 Mischa The Evil
|Export wiki pages|Allow user to export wiki pages to various formats (pdf, html, ...)|
101 5 Jean-Philippe Lang
|View wiki history|Allow user to view older versions of the wiki pages, and diff between versions|
102
|Edit wiki pages|Allow user to edit unprotected wiki pages|
103
|Delete attachments|Allow user to delete existing wiki page attachments|
104
|Protect wiki pages|Allow user to lock/unlock wiki pages, and edit locked pages|
105 4 Jean-Philippe Lang
106 1 Jean-Philippe Lang
h2. System roles
107
108 24 Go MAEDA
There are two system roles in Redmine: 'Non member' and 'Anonymous'. They are internally used by Redmine and thus cannot be deleted.
109 1 Jean-Philippe Lang
110
* *Non member*: this role lets you define the permissions that a registered user has on projects which he is not a member of.
111
* *Anonymous*: this role lets you define the permissions that anonymous users have on the projects.
112
113 24 Go MAEDA
Note that these two roles only apply to public projects since anonymous users and users who are not a member of a private project cannot even see it.
114 6 Jean-Philippe Lang
115 24 Go MAEDA
As a consequence of the fact, that Anonymous and Non member roles cannot be assigned to a specific user or group, but are assigned automatically, the permissions of these roles are global for a given Redmine installation. To be more concrete: You can create different developer-roles (reporter1,reporter2,...) with slightly different permissions to fit specific needs of specific projects. However: you cannot adapt Anonymous and Non member roles in a way, that non-members are allowed to create board-messages in one project, but are forbidden to do so in another project.
116 9 Glenn Gould
117 24 Go MAEDA
Some permissions cannot be given to these roles. For example, the 'Manage members' permission cannot be given to non member or anonymous users.