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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
3b2efa41
Commit
3b2efa41
authored
Jun 10, 2019
by
Ben Bodenmiller
Committed by
Evan Read
Jun 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that GitLab CI token does not have write permissions
parent
e5fb082b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
doc/user/project/new_ci_build_permissions_model.md
doc/user/project/new_ci_build_permissions_model.md
+5
-4
No files found.
doc/user/project/new_ci_build_permissions_model.md
View file @
3b2efa41
...
@@ -28,10 +28,10 @@ The reasons to do it like that are:
...
@@ -28,10 +28,10 @@ The reasons to do it like that are:
and maximizing security.
and maximizing security.
With the new behavior, any job that is triggered by the user, is also marked
With the new behavior, any job that is triggered by the user, is also marked
with their permissions. When a user does a
`git push`
or changes files through
with their
read
permissions. When a user does a
`git push`
or changes files through
the web UI, a new pipeline will be usually created. This pipeline will be marked
the web UI, a new pipeline will be usually created. This pipeline will be marked
as created be the pusher (local push or via the UI) and any job created in this
as created be the pusher (local push or via the UI) and any job created in this
pipeline will have the
permissions of the pusher
.
pipeline will have the
read permissions of the pusher but not write permissions
.
This allows us to make it really easy to evaluate the access for all projects
This allows us to make it really easy to evaluate the access for all projects
that have
[
Git submodules
][
gitsub
]
or are using container images that the pusher
that have
[
Git submodules
][
gitsub
]
or are using container images that the pusher
...
@@ -67,9 +67,10 @@ Let's consider the following scenario:
...
@@ -67,9 +67,10 @@ Let's consider the following scenario:
## Job token
## Job token
A unique job token is generated for each job and
it allows the user to
A unique job token is generated for each job and
provides the user read
access all projects that would be normally accessible to the user creating that
access all projects that would be normally accessible to the user creating that
job.
job. The unique job token does not have any write permissions, but there
is a
[
proposal to add support
](
https://gitlab.com/gitlab-org/gitlab-ce/issues/18106
)
.
We try to make sure that this token doesn't leak by:
We try to make sure that this token doesn't leak by:
...
...
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