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
Start date:
12 Oct 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
Yes
Planning:
Files
Associated revisions
tests: add test of /api/user/ API (#8603)
History
Updated by Benjamin Dauvergne over 5 years ago
- File 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 added
- Target version set to 2.2.0
- Patch proposed changed from No to Yes
Updated by Benjamin Dauvergne over 5 years ago
- File 0001-tests-add-test-of-api-user-API-8603.patch 0001-tests-add-test-of-api-user-API-8603.patch added
Some tests to add after this issue and #8602.
Updated by Pierre Cros over 5 years ago
- Priority changed from Normal to Haut
Seems to be necessary for 3M
Updated by Benjamin Dauvergne over 5 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|2f8809a571bef92bc032a0658d5385ac8bad6c0b.
Updated by Benjamin Dauvergne about 5 years ago
- Status changed from Résolu (à déployer) to Solution déployée
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.