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

How to allow access a Model that s/he owns #22

Closed
appkr opened this issue Nov 27, 2015 · 2 comments
Closed

How to allow access a Model that s/he owns #22

appkr opened this issue Nov 27, 2015 · 2 comments

Comments

@appkr
Copy link

appkr commented Nov 27, 2015

I cannot find a way in the document how to allow access any model associated with the current user. Is it possible with this package? Thanks.

@freekmurze
Copy link
Member

There are multiple approaches to do this. In the most easy one you don't even have to use this package. Just registeren a permission at the gate were you check if a given models is associated with the user.

@appkr
Copy link
Author

appkr commented Nov 27, 2015

Thanks.

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

No branches or pull requests

2 participants