forked from Github-Mirrors/canaille
doc: ACL permissions wording
This commit is contained in:
parent
bfffd8a05d
commit
13a98fda2c
3 changed files with 1776 additions and 1729 deletions
|
@ -15,8 +15,8 @@ ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|||
|
||||
|
||||
class RootSettings(BaseSettings):
|
||||
"""The top-level namespace contains the configuration settings
|
||||
unrelated to Canaille.
|
||||
"""The top-level namespace contains the configuration settings unrelated to
|
||||
Canaille.
|
||||
|
||||
The configuration parameters from the following libraries can be used:
|
||||
|
||||
|
|
|
@ -81,17 +81,13 @@ class ACLSettings(BaseModel):
|
|||
|
||||
PERMISSIONS: list[Permission] = [Permission.EDIT_SELF, Permission.USE_OIDC]
|
||||
"""A list of :class:`Permission` users in the access control will be able
|
||||
to manage. For example:
|
||||
to manage.
|
||||
|
||||
For example:
|
||||
|
||||
..code-block:: toml
|
||||
|
||||
PERMISSIONS = [
|
||||
"manage_users",
|
||||
"manage_groups",
|
||||
"manage_oidc",
|
||||
"delete_account",
|
||||
"impersonate_users",
|
||||
]
|
||||
PERMISSIONS = ["manage_users", "manage_groups", "manage_oidc", "delete_account", "impersonate_users"]
|
||||
"""
|
||||
|
||||
READ: list[str] = [
|
||||
|
|
3489
doc/locales/doc.pot
3489
doc/locales/doc.pot
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue