-
Notifications
You must be signed in to change notification settings - Fork 9
NOISSUE - Fix Update user roles, Listing and retrieve users with role #76
Conversation
api/openapi/users.yml
Outdated
@@ -1658,13 +1656,13 @@ components: | |||
schema: | |||
$ref: "#/components/schemas/UserSecret" | |||
|
|||
UserUpdateOwnerReq: | |||
UserUpdateRoleReq: | |||
description: JSON-formated document describing the owner of user to be update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: JSON-formated document describing the owner of user to be update | |
description: JSON-formated document describing the role of the user to be update |
Update the sdk function to replace |
b5aaf1a
to
35b5193
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In sdk.go change UpdateUserOwner
to UpdateUserRole
api/openapi/users.yml
Outdated
UserUpdateOwnerReq: | ||
description: JSON-formated document describing the owner of user to be update | ||
UserUpdateRoleReq: | ||
description: JSON-formated document describing the role of the user to be update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: JSON-formated document describing the role of the user to be update | |
description: JSON-formated document describing the role of the user to be updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arvindh123 Please address this one.
also update in |
7ef2686
to
fd1224f
Compare
|
Signed-off-by: Arvindh <[email protected]>
Signed-off-by: Arvindh <[email protected]>
…le just add or remove admin relation Signed-off-by: Arvindh <[email protected]>
Signed-off-by: Arvindh <[email protected]>
fd1224f
to
77805ae
Compare
Signed-off-by: Arvindh <[email protected]>
Pull request title should be
MG-XXX - description
orNOISSUE - description
where XXX is ID of issue that this PR relate to.Please review the CONTRIBUTING.md file for detailed contributing guidelines.
What does this do?
Update user role to admin
Request:
Response:
Listing of users
Request :
Response :
Which issue(s) does this PR fix/relate to?
Put here
Resolves #XXX
to auto-close the issue that your PR fixes (if such)List any changes that modify/break current functionality
Have you included tests for your changes?
Did you document any new/modified functionality?
Notes