-
Notifications
You must be signed in to change notification settings - Fork 37
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
Associate user with Tenant via ACLs #44
Comments
The ACL concept of kit is defined as:
This is implemented by casbin For example, to define a role has the permission of read users, you can add an ACL like
( * means any)
User-based ACL is exposed by low-level |
Ok got it. I think I may still be having issues. Could you walk me through a scenario of: Creating a new tenant I apologize but I am still a little confused on the steps it takes. Thank you |
You can also do this by the admin-ui |
Thank you for the guidance. Through the admin-ui, I create a new tenant and then go to System Management -> Role management and attempt to add a new role and get this error Error 1062 (23000): Duplicate entry 'bc9d455f-7989-43d2-b7dc-ac7e21bc4bd4' for key 'roles.idx_roles_tenant_role' There are no other roles in this tenant so not sure where it is getting the duplicate key from |
Sorry, fixed |
Having some issues on associating a created user with a tenant with the ACLs. Can you possibly explain the workflow for this? And maybe an explanation on defGroups and proper use of the ACLs and namespaces?
The text was updated successfully, but these errors were encountered: