Skip to content

Commit

Permalink
#3 add some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Wolfes committed Feb 9, 2021
1 parent 47a9d73 commit bf5f024
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Empty file added .smeagol.yml
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions docs/permission_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Permission Template

The permission template is a mechanism in sonar to setup project permissions. The default template will be changed
during the dogu startup to ensure that the CES_ADMIN group has access to administer new created projects. The following
permissions will be set (admin codeviewer issueadmin securityhotspotadmin scan user ) this setup can be verified
(Administration -> Security -> Permisssion Templates). *see setup.json for further details*

![default template overview][assets/default_template_ces_admin_permissions.png]

Apart from project permissions there are some global permission, these permission will be set up during
start up as well. Defined global permissions for the CES_ADMIN group will be (admin profileadmin gateadmin provisioning)

The permissions for projects created without correct CES_ADMIN group permissions can be changed later using a specific etdkey.
(set `amend_projects_with_ces_admin_permissions` to `all` -> restart sonar -> CES_ADMIN group will be added to all projects).
The Implementation uses the sonar api endpoint `permissions/add_group`.

0 comments on commit bf5f024

Please sign in to comment.