API: modif structure
This commit is contained in:
parent
e32095e114
commit
5f97c42dae
@ -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) user’s 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]
|
||||
|
||||
|
2186
docs/ScoDoc9API.md
2186
docs/ScoDoc9API.md
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user