-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
limit apps that a user can login by group #2881
Comments
@link89 see docs: https://casdoor.org/docs/permission/permission-configuration How to forbid a user from logging into an application: https://door.casdoor.com/permissions/casbin/permission_deny_role |
@hsluoyz The example you show it is to deny specify users to read specific apps. Is it possible to use white list rule?
|
@link89 you deny all first, then allow someone |
hi @hsluoyz [request_definition]
r = sub, obj, act
[policy_definition]
p = sub, obj, act
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act |
Closed issues won't be responded. |
As a system admin, I have an organization with mutliple apps under it.
I hope that for some apps only specific user can login. I know that it can be done by tags, but this solution has two problems:
By using group both issue can be solved, as group has a managment page and a user can belong to multiple group.
The text was updated successfully, but these errors were encountered: