API: modif structure

This commit is contained in:
Emmanuel Viennet 2022-07-25 10:13:57 +03:00
parent 337e35e48a
commit e32f7479fa
2 changed files with 1124 additions and 1077 deletions

View File

@ -95,7 +95,11 @@ Ajoute ou retire une permission.
flask user-role username [-d departement] [-a RoleAAjouter] [-r RoleARetirer]
Exemple:
Exemples:
flask user-role dupont
affiche les rôles de l'utilisateur `dupont`.
flask user-role dupont -d MMI -a Observateur
@ -146,6 +150,7 @@ Commands:
delete-dept Delete existing departement
delete-role Delete a role
dumphelp
list-roles List roles
edit-role Add [-a] and/or remove [-r] a permission...
import-scodoc7-dept Import département ScoDoc 7: dept:...
import-scodoc7-users Import users defined in ScoDoc7...
@ -161,7 +166,7 @@ Commands:
user-db-clear Erase all users and roles from the...
user-delete Try to delete this user.
user-password Set (or change) users password
user-role Add or remove a role to the given user...
user-role Display roles, or add or remove a role to the given user...
Usage: app sco-db-init [OPTIONS]

File diff suppressed because it is too large Load Diff