Skip to content

Commit

Permalink
docs: Describe changing default permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Jun 13, 2023
1 parent 5fa11c9 commit 62cd5ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions site/content/en/docs/administration/advanced/iam_system_roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,14 @@ weight: 70
<!--lint disable heading-style-->

## System roles

By default CVAT users can be assigned to one of the following groups: `admin`, `business`, `user` and `worker`.

Each of these groups gives a set of permissions.
TBD

## Changing permissions

System permissions are defined using `.rego` files stored in `cvat/apps/iam/rules/`. Rego is a declarative language used for defining OPA policies. It's syntax is defined in [OPA docs](https://www.openpolicyagent.org/docs/latest/policy-language/).

After applying changes to the `.rego` files, you need to rebuilt and restart the docker compose for the changes to take effect. In this case you need to include `docker-compose.dev.yml` compose config file to `docker compose` command.

0 comments on commit 62cd5ee

Please sign in to comment.