-
Notifications
You must be signed in to change notification settings - Fork 1
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
Creating a new workspace using API #53
Conversation
URL: POST http://localhost:8080/flowify-server/api/v1/workspaces/ |
Does it allow specifying admin and user role in a workspace? |
@adamchengtkc no I believe specifying admin and user roles in workspaces is a separate issue |
If I remember correctly, the admin role is already implemented (i.e user cannot access the secret page). Currently, the backend look for a "-admin" suffix in the role to determine role of a user. So in your example above. the backend currently will look for "sandbox-developer-admin" for admin role. there is nothing wrong with this PR. Just to clarify the current implementation |
@adamchengtkc Thanks for the clarification, I understood the question now. You are absolutely right and yes it allows specifying admin and user roles in the new workspace |
related issue