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

Invite members to project api, roleSlugs not work #2511

Closed
defp opened this issue Sep 30, 2024 · 1 comment
Closed

Invite members to project api, roleSlugs not work #2511

defp opened this issue Sep 30, 2024 · 1 comment

Comments

@defp
Copy link

defp commented Sep 30, 2024

Describe the bug

api docs
https://infisical.com/docs/api-reference/endpoints/project-users/invite-member-to-workspace
image
roleSlugs not working, config admin role

but result is member role

image

To Reproduce

call Invite members to project api
body

{
    "emails": ["[email protected]"],
    "roleSlugs": ["admin"]
}

Expected behavior

Invite members to project, user role as admin

Screenshots

If applicable, add screenshots to help explain your problem.

Platform you are having the issue on:

Additional context

Add any other context about the problem here.

@defp
Copy link
Author

defp commented Oct 1, 2024

change table project_user_membership_roles, column role to admin

@defp defp closed this as completed Oct 1, 2024
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