You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app users can create a "Workspace". Workspaces can have multiple users and users can have one of 4 roles in the workspace (admin, edit, comment, view).
I thought about 3 ways this could be done with Hasura + Keycloak:
Set up a realm for each workspace (seems like hard work)
Create 4x new roles every time a workspace is created. Use these roles to manage permissions
Have a single "user" role in Keycloak and manage the roles somehow through Hasura?
I'm new to Hasura so I'm not really sure what the best approach should be. Any resources or guides you could point me to would also be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my app users can create a "Workspace". Workspaces can have multiple users and users can have one of 4 roles in the workspace (admin, edit, comment, view).
I thought about 3 ways this could be done with Hasura + Keycloak:
I'm new to Hasura so I'm not really sure what the best approach should be. Any resources or guides you could point me to would also be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions