Merge "Two different API achieve listing role assignments"
This commit is contained in:
commit
a6c4b75e1b
@ -801,6 +801,11 @@ Response Example
|
|||||||
.. literalinclude:: ./samples/admin/project-user-roles-list-response.json
|
.. literalinclude:: ./samples/admin/project-user-roles-list-response.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
|
The functionality of this request can also be achieved using the generalized
|
||||||
|
list assignments API::
|
||||||
|
|
||||||
|
GET /role_assignments?user.id={user_id}&scope.project.id={project_id}
|
||||||
|
|
||||||
|
|
||||||
Assign role to user on project
|
Assign role to user on project
|
||||||
==============================
|
==============================
|
||||||
|
Loading…
Reference in New Issue
Block a user