doc: ACL permissions wording

This commit is contained in:
Éloi Rivard 2024-12-08 12:22:19 +01:00
parent bfffd8a05d
commit 13a98fda2c
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
3 changed files with 1776 additions and 1729 deletions

View file

@ -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:

View file

@ -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] = [

File diff suppressed because it is too large Load diff