Skip to content
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

[Feature] Implement subjectPriority in jcasbin #301

Closed
coffeeZhang001 opened this issue Sep 27, 2022 · 7 comments · Fixed by #306
Closed

[Feature] Implement subjectPriority in jcasbin #301

coffeeZhang001 opened this issue Sep 27, 2022 · 7 comments · Fixed by #306

Comments

@coffeeZhang001
Copy link

coffeeZhang001 commented Sep 27, 2022

I am usring casbin with jcasbin library, but i found the [load-policy-with-priority-based-on-role-and-user-hierarchy] feature is not implementd in jcasbin.

I think this feature is valuable and convenient when we want to define policy with priority.

Currently, i have to define priority for each policy like this:

p, 10, data1_deny_group, data1, read, deny
p, 10, data1_deny_group, data1, write, deny
@casbin-bot
Copy link
Member

@tangyang9464 @JalinWang

@hsluoyz
Copy link
Member

hsluoyz commented Sep 27, 2022

@imp2002

/cc @tangyang9464

@hsluoyz hsluoyz transferred this issue from casbin/casbin Sep 27, 2022
@casbin-bot
Copy link
Member

@tangyang9464 @imp2002

@TraMiu
Copy link

TraMiu commented Oct 1, 2022

Yes, I think this feature is important too.

@imp2002
Copy link
Member

imp2002 commented Oct 1, 2022

I will try sync this feature.

@Xhy-5000
Copy link
Contributor

Xhy-5000 commented Oct 1, 2022

@Xhy-5000
Copy link
Contributor

Xhy-5000 commented Oct 2, 2022

@imp2002 Do you know that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

6 participants