Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add roles to add-group-member API #9140

Open
seanh opened this issue Nov 28, 2024 · 0 comments
Open

Add roles to add-group-member API #9140

seanh opened this issue Nov 28, 2024 · 0 comments

Comments

@seanh
Copy link
Contributor

seanh commented Nov 28, 2024

See also: #9141

Auth clients can add members to groups by calling the add-member-to-group API. Currently this API only allows members to be added with the roles ["member"]. Add a new, optional roles parameter to the request's JSON body (default: ["member"]) that allows auth clients to set the role in the same request that creates the membership.

Don't forget to update the API documentation at https://h.readthedocs.io/en/latest/api-reference/v1/#tag/groups/paths/~1groups~1%7Bid%7D~1members~1%7Buser%7D/post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant