OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Documentation: Roles and Permissions and Groups (#9005)
ivangriggs66a14d42f37c
diff --git a/docs/system-admin-guide/users-permissions/groups/README.md b/docs/system-admin-guide/users-permissions/groups/README.mdindex b4bb078591e..4c901c11518 100644--- a/docs/system-admin-guide/users-permissions/groups/README.md+++ b/docs/system-admin-guide/users-permissions/groups/README.md@@ -9,39 +9,58 @@ keywords: manage groups# Manage Groups-OpenProject allows creating tailored project member **groups**, which grants additional rights to individual users within specific projects. This way, you do not need to add individual users to a project but you can add a user group, e.g. Marketing.- You can edit the existing groups and create new ones in the system administration. To do that select *Administration -> Users & Permissions -> *Groups*.-<div class="glossary">-**Group** is defined as a list of users which can be assigned to a project with a certain role. New groups can be defined in the admin settings (Modules > Administration).- </div>+A **Group** is defined as a list of users which can be assigned to a project with a selected role. New groups can be defined in *Administration -> Users & Permissions -> Groups*.+</div>++OpenProject allows creating tailored project member **groups**, which grant additional permissions to individual users within a project. Instead of adding individual users to a project you can add a user group, e.g. Marketing. You can edit existing groups, create new ones, add and remove users or delete groups.## Add a new group-After selecting the *Groups* from the administration menu, you will see the list of all the existing groups. If no groups have been created yet, the list will be empty.+After selecting **Groups** from the administration menu a list of the existing groups is shown, or a prompt to create a group if none exist.-Click the green **+ Group** button in order to create a new group in the system.+Click the green **+ Group** button to create a new group.-Give a name for your new group and click the blue **Create** button+++Give a name for your new group, which must be unique, and click the blue **Create** button.## Add users to a group, edit or remove groups-You can add users to a group and edit a group by clicking on the **name of the group** (1) and remove the group by clicking on **delete** icon in the respective line (2).+You can add users to a group and edit a group by clicking on the **name of the group** (1) and delete the group by clicking on **delete** icon in the respective line (2).-After selecting the editing mode, you will be able to **adapt the group name**, **add or remove group members** and the **assignment of groups to projects**.+After clicking on a group's name, you can **change the group name**, **add or remove group members** and **assign groups to projects**.### Add users to a group-Click the group details and click the **Users** tab. Select the users you want to add to this group from the drop-down list. Click the blue **Add** button.+Click the **Users** tab. Select the users you want to add to this group from the "New user" drop-down list. Click the blue **Add** button. Users already in the group are not shown in the list. Click the "X" against the user to remove that user from the group.++++Adding a user to a group also adds that user to the member list of *all* projects in which this group was assigned a [role](../roles-permissions) (e.g. Member).++Removing a user from a group removes the role from that user in any project using that group. If the user has no other roles (i.e. who were only added as a member of this group and not individually) they are removed from the respective project completely.++### Add projects to a group++Click the **Projects** tab. Select the projects you want to add this group to from the "New project" drop-down list. Tick the roles that you want the group to have. Click the blue **Add** button. Users in the group are added to that project's members using the role selected.++## Delete a group++To delete a group click on the **delete** icon in the respective line of the group list.++Deleting a group removes the role from the members of any project using that group. If any user has no other roles (i.e. who were only added as a member of this group and not individually) are removed from the respective project completely.+## Impact of groups on project members+Groups have the following impact on a [project members list](../../../getting-started/invite-members) and the [user details](../users). Changes in groups, project members or users may affect the other two.-\ No newline at end of file+Find out more about the behavior of groups as project members from a project admin's perspective [here](../../../getting-started/invite-members/#behavior-of-groups-as-project-membersdiff --git a/docs/system-admin-guide/users-permissions/roles-permissions/README.md b/docs/system-admin-guide/users-permissions/roles-permissions/README.mdindex 8deb85dc21c..d1b7763144e 100644--- a/docs/system-admin-guide/users-permissions/roles-permissions/README.md+++ b/docs/system-admin-guide/users-permissions/roles-permissions/README.md@@ -8,36 +8,54 @@ keywords: manage roles, manage permissions---# Roles and permissions-A role is a set of permissions that can be assigned to any project member. Multiple roles can be assigned to the same project member.+A **role** is a set of **permissions** that can be assigned to any project member. Multiple roles can be assigned to the same project member.-In contrast to "normal" project roles, **Global roles** are project-overarching roles that can be assigned to a user and allow certain actions (for example, creating new projects).+When creating a role, the "Global role" field can be ticked, making it a **Global role** that can be assigned to a [users details](../users/#manage-user-settings) and applied across all projects.-Global roles can be added to a [user profile](../users/#view-user-profile).+## Permissions++The permissions are pre-defined in the system, and cannot be changed. They define what actions a role can carry out. If a user has more than one role, including global and project roles, a permission is granted if it is assigned to any of those roles.++All permissions are shown by OpenProject module in the [create a new role](#create-a-new-role) page.++### Project Modules++If a [project module](../../../user-guide/projects/project-settings/modules/) is not enabled for a specific project it is not shown in that project's menu whether the user has permission for that module or not.## Create a new role-To create a new role, navigate to the administration and select -> *Users & permissions* -> *Roles and permissions* from the menu on the left.+To create a new role, navigate to the administration and select *Users & Permissions -> Roles and permissions* from the menu on the left.You will see the list of all the roles that have been created so far.-After clicking the green *+ New Role* button a form will open and you will be able to specify the role.--You will then be able to specify the following:+After clicking the green **+ Role** button, a form will be shown to define the role and its permissions.++Complete the following as required:-1. Role name-2. Define whether the role is a global one and should be applied to a user on a project-overarching level.-3. Define whether work packages can be assigned to the role-4. Copy the workflow from an existing role. In case you select a role from the dropdown list, the respective workflows will be copied (i.e. changing status for work packages)-5. You can specify the permissions per OpenProject module and select the permissions which should apply for this role. You also have the possibility to check all or uncheck all at the right next to a module.+1. **Role name** - must be entered and be a new name.+2. **Global Role** - this role applies to all projects, and can only be assigned in the [user details](../users/#manage-user-settings). Once saved, the decision to make a role a "global role" can't be reverted.+3. **Work packages...** - tick to allow work packages to be assigned to a user with this role. This does not appear for global roles.+4. **Copy workflow from** - select an existing role. The respective [workflows](../../manage-work-packages/work-package-workflows) will be copied to the role to be created.+5. **Permissions** for this role - you can specify the permissions per OpenProject module. Click the arrow next to the module name to expand or compress the permissions list.-Don't forget to save the new role at the bottom of the page.+Select the permissions which should apply for this role. You can use "check all" or "uncheck all" at the right of a module permissions list. If a module is not enabled in a project it is not shown to a user despite having a permission for it.++Don't forget to click the **Save** button at the bottom of the page.## Edit and remove roles-To edit a role navigate to the roles overview list and click on the role name (1). To remove an existing role click on the delete button next to a role in the list (2).+To edit a role navigate to the roles overview list and click on the role name (1). If is not a global role it cannot be converted into one.++To remove an existing role click on the delete icon next to a role in the list (2). It cannot be deleted if it is assigned to a user.++## Permissions report++On the bottom of the roles list page there is a link to the **Permissions report**. This shows a grid of existing roles (horizontally) against permissions (vertically); the intersections are ticked if the role has the permission.++A "Check/uncheck all" tick is shown on each role or permission to allow bulk change. Be careful, this cannot be undone. If you make a mistake do not save the report.