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

auth/casbin readme and example #972

Open
abeMedia opened this issue Apr 4, 2020 · 0 comments
Open

auth/casbin readme and example #972

abeMedia opened this issue Apr 4, 2020 · 0 comments

Comments

@abeMedia
Copy link

@abeMedia abeMedia commented Apr 4, 2020

It's not clear to me how auth/casbin is meant to be used. I had a look at the test cases but it looks like that's just using hard-coded values. Are we meant to wrap this with our own middleware that injects the subject & object and populates the context with the model & policy or is this just meant to serve as an example implementation?

Would be good to have a readme to add a little more context...

@abeMedia abeMedia changed the title auth/casbin readme/example auth/casbin readme and example Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.