-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
[Bug] RBAC with domain may have potential unxexpected behavior #221
Comments
We can change |
@Zxilly Yep, we'll discuss about it. |
@hsluoyz OK, I am working on it |
@hsluoyz I believed this is still a potential security problem. |
@Zxilly If the user can define domain fields, then isn't he powerful enough to do anything else than just messing with the domain? |
@hsluoyz like this issue casbin/casbin#493, specially constructed organazation name can lead to permission leakage. |
@hsluoyz I think it is a potential problem too and we can avoid it with some changes. |
@hsluoyz, here documentation says we can use |
@rrasulzade Which language of casbin do you use? |
Go |
@closetool plz notice this |
https://github.com/casbin/casbin/blob/d8b8c3d1ad7fc2a9bf03d31955850acb1272f3e1/rbac/default-role-manager/role_manager.go#L489-L495
If we have a domain like
name::domain
, it may lead to unexpected behavior.@closetool plz confirm this
The text was updated successfully, but these errors were encountered: