Bug #8603
In /api/user/ show all role from the same ou as the service in the service roles, and show all user roles in the user.to_json() document
Début:
12 octobre 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Oui
Planning:
Fichiers
Révisions associées
tests: add test of /api/user/ API (#8603)
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
- Fichier 0001-a2_rbac-modify-Role.to_json-to-list-all-roles-visibl.patch 0001-a2_rbac-modify-Role.to_json-to-list-all-roles-visibl.patch ajouté
- Version cible mis à 2.2.0
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
- Fichier 0001-tests-add-test-of-api-user-API-8603.patch 0001-tests-add-test-of-api-user-API-8603.patch ajouté
Some tests to add after this issue and #8602.
Mis à jour par Pierre Cros il y a plus de 8 ans
- Priorité changé de Normal à Haut
Seems to be necessary for 3M
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|2f8809a571bef92bc032a0658d5385ac8bad6c0b.
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é
a2_rbac: modify Role.to_json() to list all roles visible to the service (fixes #8603)
Service can usually see roles linked to them but also linked to their ou.