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
b75b6694
Commit
b75b6694
authored
Aug 09, 2021
by
Evan Read
Committed by
Russell Dickenson
Aug 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test steps for group access tokens
parent
3186628d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/user/project/settings/project_access_tokens.md
doc/user/project/settings/project_access_tokens.md
+12
-0
No files found.
doc/user/project/settings/project_access_tokens.md
View file @
b75b6694
...
...
@@ -132,6 +132,18 @@ token = bot.personal_access_tokens.create(scopes:[:api, :write_repository], name
gtoken
=
token
.
token
# get the token value
```
Test if the generated group access token works:
1.
Pass the group access token in the
`PRIVATE-TOKEN`
header to GitLab REST APIs. For example:
-
[
Create an epic
](
../../../api/epics.md#new-epic
)
on the group.
-
[
Create a project pipeline
](
../../../api/pipelines.md#create-a-new-pipeline
)
in one of the group's projects.
-
[
Create an issue
](
../../../api/issues.md#new-issue
)
in one of the group's projects.
1.
Use the group token to
[
clone a group's project
](
../../../gitlab-basics/start-using-git.md#clone-with-https
)
using HTTPS.
### Revoke a group access token
To revoke a group access token, run the following in a Rails console:
...
...
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