Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxops
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
websites
linuxops
Merge requests
!18
add koji/addingusers and koji/building
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add koji/addingusers and koji/building
kojibuilding
into
master
Overview
0
Commits
1
Pipelines
0
Changes
5
Merged
Ben Morrice
requested to merge
kojibuilding
into
master
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
1fa17c7b
1 commit,
5 years ago
5 files
+
114
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
docs/koji/addingusers.md
0 → 100644
+
27
−
0
Options
# Adding users to koji
*
Adding users to koji and granting them access to repositories requires admin privileges
*
This can only be done by other admins
## Adding a user
You can add a user with:
`koji add-user --principal=<username>@CERN.CH <username>`
!!! danger "Important!"
* Do NOT forget the @CERN.CH from the user principal
* If you do, the user won't be able to log in manual database modification is required to fix the mistake
*
Note: If you get
`GenericError: user already exists: user`
you can safely ignore it
## Granting build permissions
*
First add the user as documented above. Then do
`koji grant-permission build <username>`
*
'build' is required to do basically anything useful in koji
## Granting admin permissions
*
First add the user as documented above. Then do
`koji grant-permission admin <username>`
!!! danger "Important!"
Admin accounts should only be granted to service managers of the koji service
Loading