Merge "Two different API achieve listing role assignments"

This commit is contained in:
Zuul 2017-11-13 15:58:49 +00:00 committed by Gerrit Code Review
commit a6c4b75e1b

View File

@ -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
============================== ==============================