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

Blog post - restricting access to object based on created user #70

Open
arogachev opened this issue Feb 15, 2017 · 0 comments
Open

Blog post - restricting access to object based on created user #70

arogachev opened this issue Feb 15, 2017 · 0 comments
Assignees

Comments

@arogachev
Copy link
Owner

For example, user can view only own posts.

  • Filter objects by current user beforehand and then apply filter to find model.
  • Find model first, then check if the current user is author or not.
@arogachev arogachev added the blog label Feb 15, 2017
@arogachev arogachev self-assigned this Feb 15, 2017
@arogachev arogachev added post and removed blog labels Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant