Project

General

Profile

Development #52226

API, utilisation avec slug des rôles

Added by Frédéric Péters almost 3 years ago. Updated about 1 month ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
19 March 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

On trouve dans des workflows des appels webservice genre {{idp_url}}api/roles/567a417b37844ffd95108cd0ea14ecf2/members/{{creation_utilisateur_response_uuid}}/ et plutôt qu'avoir là au milieu l'uuid d'un rôle, il pourrait être opportun de permettre de référencer le rôle via slug OU/rôle.

Associated revisions

Revision b3a791ef (diff)
Added by Benjamin Dauvergne about 1 month ago

misc: add converters (#52226)

To simplify url patterns.

Revision aa8cf997 (diff)
Added by Benjamin Dauvergne about 1 month ago

tests: move create_user in tests.utils (#52226)

To share it with other test modules.

Revision 7819b8ff (diff)
Added by Benjamin Dauvergne about 1 month ago

user: add helper to add role to user (#52226)

Mainly for tests.

Revision a89afc12 (diff)
Added by Benjamin Dauvergne about 1 month ago

api: add routes to get OUs by slug (#52226)

Revision 594ada02 (diff)
Added by Benjamin Dauvergne about 1 month ago

api: add routes to get roles by slug (#52226)

History

#1

Updated by Pierre Cros almost 3 years ago

  • Description updated (diff)
#2

Updated by Benjamin Dauvergne almost 3 years ago

  • Assignee set to Benjamin Dauvergne
#3

Updated by Robot Gitea 2 months ago

  • Status changed from Nouveau to En cours

Benjamin Dauvergne (bdauvergne) a ouvert une pull request sur Gitea concernant cette demande :

#4

Updated by Robot Gitea about 1 month ago

  • Status changed from En cours to Solution proposée
#5

Updated by Robot Gitea about 1 month ago

  • Status changed from Solution proposée to Solution validée

Serghei Mihai (smihai) a approuvé une pull request sur Gitea concernant cette demande :

#6

Updated by Robot Gitea about 1 month ago

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

Benjamin Dauvergne (bdauvergne) a mergé une pull request sur Gitea concernant cette demande :

#7

Updated by Transition automatique about 1 month ago

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

Also available in: Atom PDF