Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b5e3e530
Commit
b5e3e530
authored
Jun 08, 2020
by
Ben Bodenmiller
Committed by
Mike Jang
Jun 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve project membership details
parent
cebd8df7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
20 deletions
+29
-20
doc/api/access_requests.md
doc/api/access_requests.md
+6
-8
doc/api/members.md
doc/api/members.md
+11
-7
doc/development/permissions.md
doc/development/permissions.md
+12
-5
No files found.
doc/api/access_requests.md
View file @
b5e3e530
...
...
@@ -6,14 +6,12 @@
The access levels are defined in the
`Gitlab::Access`
module. Currently, these levels are recognized:
```
plaintext
0 => No access
10 => Guest access
20 => Reporter access
30 => Developer access
40 => Maintainer access
50 => Owner access # Only valid for groups
```
-
No access (
`0`
)
-
Guest (
`10`
)
-
Reporter (
`20`
)
-
Developer (
`30`
)
-
Maintainer (
`40`
)
-
Owner (
`50`
) - Only valid to set for groups
## List access requests for a group or project
...
...
doc/api/members.md
View file @
b5e3e530
...
...
@@ -4,13 +4,17 @@
The access levels are defined in the
`Gitlab::Access`
module. Currently, these levels are recognized:
```
plaintext
10 => Guest access
20 => Reporter access
30 => Developer access
40 => Maintainer access
50 => Owner access # Only valid for groups
```
-
No access (
`0`
)
-
Guest (
`10`
)
-
Reporter (
`20`
)
-
Developer (
`30`
)
-
Maintainer (
`40`
)
-
Owner (
`50`
) - Only valid to set for groups
CAUTION:
**Caution:**
Due to
[
an issue
](
https://gitlab.com/gitlab-org/gitlab/-/issues/219299
)
,
projects in personal namespaces will not show owner (
`50`
) permission
for owner.
## List all members of a group or project
...
...
doc/development/permissions.md
View file @
b5e3e530
...
...
@@ -41,11 +41,12 @@ can be accessed only by project members by default.
Users can be members of multiple groups and projects. The following access
levels are available (defined in the
`Gitlab::Access`
module):
-
Guest
-
Reporter
-
Developer
-
Maintainer
-
Owner
-
No access (
`0`
)
-
Guest (
`10`
)
-
Reporter (
`20`
)
-
Developer (
`30`
)
-
Maintainer (
`40`
)
-
Owner (
`50`
)
If a user is the member of both a project and the project parent group, the
higher permission is taken into account for the project.
...
...
@@ -56,6 +57,12 @@ can still view the groups and their entities (like epics).
Project membership (where the group membership is already taken into account)
is stored in the
`project_authorizations`
table.
CAUTION:
**Caution:**
Due to
[
an issue
](
https://gitlab.com/gitlab-org/gitlab/-/issues/219299
)
,
projects in personal namespace will not show owner (
`50`
) permission in
`project_authorizations`
table. Note however that
[
`user.owned_projects`
](
https://gitlab.com/gitlab-org/gitlab/blob/0d63823b122b11abd2492bca47cc26858eee713d/app/models/user.rb#L906-916
)
is calculated properly.
### Confidential issues
Confidential issues can be accessed only by project members who are at least
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment