You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Special case: admin and superuser both grant all builtin roles to the subject
The more I think about it, the more fitting a builtin role Superuser or Admin that short-circuits all checks looks to me. This way we won't have to deal with migrations or the mutual-exclusiveness of builtin roles.
We should have a command to list groups
We should have a command to add a user to a group
Description and goal
Refs #8171
Implement a CLI interface to ease role management.
CLI:
editoast roles add SUBJECT ROLE [ROLE+]
editoast roles remove SUBJECT ROLE [ROLE+]
editoast roles list SUBJECT
editoast roles list-roles
where:
SUBJECT
can be either a subject id (u64) or a user identity as provided by the gateway (String)ROLE
is a builtin role identifierlist-roles
lists the builtin roles tagAcceptance criteria
The commands are implemented.
Note
There will be a CLI to manage users and groups as well. Subject IDs will be obtainable from there.
The text was updated successfully, but these errors were encountered: