Skip to content

[Hydra] Permissions and scopes for selective groups/organizations/workspaces #250

Answered by vinckr
jannikkeye asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @jannikkeye
You can probably implement something like this with OAuth2. But this is not the usecase for OAuth2.0 scopes. To quote directly from our docs:

The OAuth 2.0 Scope isn't an internal RBAC/ACL permission:

  • A permission allows an actor to perform a certain action in a system: Bob is allowed to delete his own photos.
  • OAuth 2.0 Scope implies that an end-user granted certain privileges to a client: Bob allowed the OAuth 2.0 Client to delete all users. But Bob might not be allowed to delete all users because Bob isn't an admin.
    The OAuth 2.0 Scope can be granted without the end-user actually having the right permissions. In the examples above, Bob granted an OAuth 2.0 Client the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants