We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Want to prioritize this issue? Try:
What's your scenario? What do you want to achieve? Your answer here
Your model:
[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
Your policy:
p, alice, data1, read p, bob, data2, write p, data2_admin, data2, read p, data2_admin, data2, write g, alice, data2_admin
Your request(s):
alice, data2, read ---> false (expected: true)
The text was updated successfully, but these errors were encountered:
@tangyang9464 @JalinWang
Sorry, something went wrong.
It is a migration SQL generated by gorm-adapter and will only appear when you create this adapter. If you are affected by it, you can turn off AutoMigrate. Plz refer to: https://github.com/casbin/gorm-adapter#turn-off-automigrate
gorm-adapter
AutoMigrate
Thanks
hsluoyz
No branches or pull requests
Want to prioritize this issue? Try:
How should I optimize it
What's your scenario? What do you want to achieve?
Your answer here
Your model:
Your policy:
Your request(s):
The text was updated successfully, but these errors were encountered: