Add note for role_quote

This commit is contained in:
Daniel Pan 2024-12-09 16:40:38 +08:00
parent 57b057643d
commit be29d364b0

View File

@ -4,7 +4,7 @@ You can add/edit roles and permission for users. A role is just a group of users
- `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.
!!! tip "After set `role_quote`, it will be take affect once a user with such a role loggin into Seafile. You can also manually change `seafile-db.RoleQuota`, if you want to see the effect immediately.
!!! tip "After set `role_quote`, it will take affect once a user with such a role loggin into Seafile. You can also manually change `seafile-db.RoleQuota`, if you want to see the effect immediately.
- `can_add_public_repo` is to set whether a role can create a public library, default is `False`.