Skip to content

Commit

Permalink
Update roles_permissions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
imwhatiam authored Oct 22, 2024
1 parent 41915cc commit 5d95802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/deploy_pro/roles_permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

You can add/edit roles and permission for users. A role is just a group of users with some pre-defined permissions, you can toggle user roles in user list page at admin panel.

`role_quota` is used to set quota for a certain role of users. For example, we can set the quota of employee to 100G by adding `'role_quota': '100g'`, and leave other role of users to the default quota.
`role_quota` is used to set quota for a certain role of users, the smallest unit supported by `role_quota` is `mb`. For example, we can set the quota of employee to 100G by adding `'role_quota': '100g'`, and leave other role of users to the default quota.

`can_add_public_repo` is to set whether a role can create a public library, default is "False". **Note:**The `can_add_public_repo` option will not take effect if you configure global `CLOUD_MODE = True`.

Expand Down

0 comments on commit 5d95802

Please sign in to comment.