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 OAuth2 scopes #7

Open
alexdutton opened this issue Jan 8, 2013 · 0 comments
Open

Implement OAuth2 scopes #7

alexdutton opened this issue Jan 8, 2013 · 0 comments

Comments

@alexdutton
Copy link
Collaborator

Use OAuth2 scopes to restrict the privileges granted to OAuth2 consumers (as at the moment they get access to everything). One way to do it would be to link a scope to a virtual user or group, which is given permissions. The permissions are then the intersection of those of the virtual and real users'. Scopes in this world would be created ad hoc on request (which isn't too much of a bother as applications can only be created through the admin interface at the moment).

This would allow us to create meaningful names for scopes ("access to data that is restricted to members of the University", "the ability to delete users", etc).

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