Project

General

Profile

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

Added by Benjamin Dauvergne about 4 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Haut
Category:
-
Target version:
Start date:
12 Oct 2015
Due date:
% Done:

100%

Patch proposed:
Yes
Planning:
No

0001-a2_rbac-modify-Role.to_json-to-list-all-roles-visibl.patch View (2.25 KB) Benjamin Dauvergne, 12 Oct 2015 04:22 PM

0001-tests-add-test-of-api-user-API-8603.patch View (5.4 KB) Benjamin Dauvergne, 12 Oct 2015 04:23 PM

Associated revisions

Revision 2f8809a5 (diff)
Added by Benjamin Dauvergne about 4 years ago

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.

Revision ecb6831f (diff)
Added by Benjamin Dauvergne about 4 years ago

tests: add test of /api/user/ API (#8603)

History

#2 Updated by Benjamin Dauvergne about 4 years ago

#3 Updated by Benjamin Dauvergne about 4 years ago

Some tests to add after this issue and #8602.

#4 Updated by Pierre Cros about 4 years ago

  • Priority changed from Normal to Haut

Seems to be necessary for 3M

#5 Updated by Frédéric Péters about 4 years ago

Any reason why it's not pushed yet?

#6 Updated by Benjamin Dauvergne about 4 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100

#7 Updated by Benjamin Dauvergne almost 4 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

#9 Updated by Benjamin Dauvergne about 2 years ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF