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

Implement a "get my own ressources" authentication/authorization backend #13

Open
boblefrag opened this issue Jan 21, 2014 · 1 comment

Comments

@boblefrag
Copy link
Owner

We need to be able to show to a user only his own ressources. Authentication and datastore should be able to comunicate.

This should be flexible enough to offer a way to user-limit the ressources per HTTP method (GET, POST, PUT ...)

@boblefrag
Copy link
Owner Author

On option should be to add a special filter when authenticating. Like:

 {"filters": "restrict_ressource": "<username>"}.

When the datastore call filter, it should be able to use this filter to restrict ressources to the one belonging to the user

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