Skip to content

Commit baa4ca8

Browse files
committed
add screenshots
refine texts
1 parent b72f2ba commit baa4ca8

9 files changed

Lines changed: 26 additions & 2 deletions
5.09 KB
Loading
7.38 KB
Loading
10.1 KB
Loading
17.9 KB
Loading
12 KB
Loading
15.9 KB
Loading
18.4 KB
Loading
16.1 KB
Loading

‎docs/build/project-access-control/index.md‎

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,22 @@ Access is not divided into read access and write access.
3030
A user who can access a project can use it without restrictions, which includes changing its groups.
3131

3232
A project that a user cannot access is not listed in the workspace.
33-
Opening a link to such a project shows an error message instead of the project.
33+
Opening a link to such a project shows the message **Access to project is forbidden!** instead of the project.
34+
The message lists the groups assigned to the project and the groups of the current user.
35+
36+
![Message that access to the project is forbidden, with the required groups and the groups of the user](access-forbidden.png){ class="bordered" width="88%" }
3437

3538
## View the groups of a project
3639

3740
Open the project.
3841
The **Access control** section shows the assigned groups under **Groups**.
42+
43+
![Access control section of a project with two assigned groups](access-control-groups.png){ class="bordered" width="41%" }
44+
3945
If no groups are assigned, the section shows the message "No groups configured. This project is visible to all users." instead.
4046

47+
![Access control section of a project without groups](access-control-no-groups.png){ class="bordered" width="41%" }
48+
4149
## Restrict a project to groups
4250

4351
1. Open the project.
@@ -48,19 +56,30 @@ If no groups are assigned, the section shows the message "No groups configured.
4856
The **Groups** field marks each group that the current user is a member of with "(member)".
4957
For administrators, the groups are not marked.
5058

59+
![Groups field with the list of groups, one of them marked as a group of the current user](groups-field-member.png){ class="bordered" width="56%" }
60+
5161
To make the project accessible to all users again, remove all groups from the **Groups** field and click **Save**.
5262

5363
### Add a group that is not listed
5464

5565
The list of groups in the **Groups** field can be incomplete.
56-
To assign a group that is not listed, enter its name in the **Groups** field and select **Add custom group**.
66+
To assign a group that is not listed, enter its name in the **Groups** field and select the **Add custom group** entry, which repeats the entered name.
67+
68+
![Groups field with the entry to add the custom group purchasing](groups-field-add-custom-group.png){ class="bordered" width="56%" }
5769

5870
The name must match the name of the group exactly, including capitalization.
5971
A misspelled group matches no user, so a warning lists the custom groups for review before saving.
6072

73+
![Warning that the custom group purchasing is unknown to the system](groups-field-custom-group-warning.png){ class="bordered" width="56%" }
74+
6175
### Avoid losing access
6276

6377
A warning appears when a group is added that the current user is not a member of.
78+
The selected groups show whether the current user is a member: a green group with an open lock is a group of the user, an orange group with a closed lock is not.
79+
80+
![Groups field with a group the user is not a member of, a group the user is a member of, and the warning about losing access](groups-field-loss-of-access-warning.png){ class="bordered" width="56%" }
81+
82+
The warning remains when a group of the user is selected as well.
6483
After saving, the current user keeps access only if at least one of the selected groups is a group of this user.
6584
Administrators do not see this warning, because they keep access to all projects.
6685

@@ -78,6 +97,11 @@ The **Groups** field is also part of the dialogs that create, clone, and import
7897
- When a project is imported, the field is empty.
7998
If the import replaces an existing project, the field is not shown and the project keeps its groups.
8099

100+
![Clone project dialog with the Groups field prefilled with a group of the current user](clone-project-groups.png){ class="bordered" width="47%" }
101+
102+
A project created with `cmemc project create` or through the API without groups is assigned the groups of the account that creates it.
103+
It is therefore accessible only to members of these groups and to administrators.
104+
81105
!!! warning "Groups are not part of a project export"
82106

83107
By default, a project export does not contain the groups of the project.

0 commit comments

Comments
 (0)