Development #751
Improve the manager based on RBAC
Début:
12 octobre 2011
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Non
Planning:
Demandes liées
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Patch proposed mis à Non
Discussion on authorization in authentic restarted thanks to current tickets #5261 and #4775:
First my idea for an authorization framework datamodel:
Action = (Slug) Permission = (Action, Object) # ex. ('login', SAML provider#01) Role = (Name, Slug, [Permission]) UserRoleMapping = (User, Role) GroupRoleMapping = (Group, Role)
Maybe we should restrain from defining any kind of data model and just try to create an API that allow service providers to know when they can allow login or not.
Some grand goal for any authorization framework:- be as simple as possible for getting a working implementation fast, but allow extensions,
- provide a hierarchical role model with inheritance
- long term: allow to import authorization model from service provider locally, maybe not natively but by allowing multiple authorization backend to be loaded at the same time and answer to authorization requests:
- a backend could for example synchronize a list of distant roles so that all management can be done in authentic without having to manually recreate the role mode on its side (roles from w.c.s.),
- reversely roles defined in authentic could be given some context and be replicated to the service provider when they are local to it.
- login on service provider #04 to user/group #05
- add attribute 'xyz' with value 'abc' to user/group #07 on service provider #02
- manage users in group 'Administrators of service provider #05'
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Lié à Bug #6143: /manage : we should allow a superadmin activate is_admin ajouté
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Lié à Development #5541: Add a page to manage providers ajouté
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Sujet changé de Authentic2 administration based on RBAC à Improve the manager based on RBAC
- Assigné à changé de Mikaël Ates (de retour le 29 avril) à Benjamin Dauvergne
- Priorité changé de Bas à Haut
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Lié à Bug #5658: Review permission checking in the manager ajouté
Mis à jour par Benjamin Dauvergne il y a presque 9 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|25ad9166a1a0367c659e858346db7f9b8b7fa3f3.
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
custom_user: add view permission to user and group model
refs #751