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

MongoEngineResource checks authorization twice #71

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

MongoEngineResource checks authorization twice #71

ghost opened this issue Jan 14, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 14, 2014

For update actions MongoEngineResource triggers an authorization check twice.

First time is:
https://github.com/wlanslovenija/django-tastypie-mongoengine/blob/master/tastypie_mongoengine/resources.py#L559

After that it calls tastypie's .save() function which again checks the authorization

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