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 over 5 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Patch proposed:
Yes
Planning:

Files

Associated revisions

Revision 2f8809a5 (diff)
Added by Benjamin Dauvergne over 5 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 over 5 years ago

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

History

#4

Updated by Pierre Cros over 5 years ago

  • Priority changed from Normal to Haut

Seems to be necessary for 3M

#5

Updated by Frédéric Péters over 5 years ago

Any reason why it's not pushed yet?

#6

Updated by Benjamin Dauvergne over 5 years ago

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

Updated by Benjamin Dauvergne about 5 years ago

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

Updated by Benjamin Dauvergne about 3 years ago

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

Also available in: Atom PDF