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

MongoEngineListResource does not check authorization #72

Open
ghost opened this issue Jan 14, 2014 · 0 comments
Open

MongoEngineListResource does not check authorization #72

ghost opened this issue Jan 14, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 14, 2014

MongoEngineListResource objects do not check authorization for any changes (create, update, delete) prior to performing them. In obj_update for example https://github.com/wlanslovenija/django-tastypie-mongoengine/blob/master/tastypie_mongoengine/resources.py#L854 the change is made and saved without ever checking in for authorization to make the change. The only permissions enforced here are read_* checks when getting the parent/containing Document.

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

0 participants