WIP: user groups

This commit is contained in:
Matthieu Bessat 2024-11-29 17:32:42 +01:00
parent 69af48bb62
commit 840fcee93d
5 changed files with 71 additions and 4 deletions

View file

@ -3,3 +3,28 @@
https://datatracker.ietf.org/doc/html/rfc6749
https://stackoverflow.com/questions/79118231/how-to-access-the-axum-request-path-in-a-minijinja-template
# Need for groups and roles
There is two kinds of role
- Role that will be used interllay to the tapp
- Roles that will be used exteranlly on oauth2 clients.
- For now we only have roles and not groups
## Groups feature
Group will be later used to combine multiple roles.
# [[groups]]
# slug = "ca_member"
# name = "G1"
# description = "Lorem ipsum"
# roles = []
# [[groups]]
# slug = "bureau"
# name = "G2"
# description = "Lorem ipseum"
# roles = ["admin"]