-
Notifications
You must be signed in to change notification settings - Fork 301
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
Add authorization layer to server request handlers #165
Merged
+1,355
−98
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e543c17 - Browse repository at this point
Copy the full SHA e543c17View commit details -
Configuration menu - View commit details
-
Copy full SHA for debc397 - Browse repository at this point
Copy the full SHA debc397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23391ab - Browse repository at this point
Copy the full SHA 23391abView commit details -
Configuration menu - View commit details
-
Copy full SHA for b405e99 - Browse repository at this point
Copy the full SHA b405e99View commit details -
Configuration menu - View commit details
-
Copy full SHA for b16f3aa - Browse repository at this point
Copy the full SHA b16f3aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 350e46d - Browse repository at this point
Copy the full SHA 350e46dView commit details -
- "contents" applies to /view - "terminals" is plural - "server" is scope for shutdown - failed authorization is 403, not 401 - calling it Authorizer instead of AuthorizationManager - 'user' term is more broadly understood than 'subject'. Plus, it always comes from `self.current_user`. - default authorizer that allows all users is AllowAllAuthorizer
Configuration menu - View commit details
-
Copy full SHA for 9f9ad53 - Browse repository at this point
Copy the full SHA 9f9ad53View commit details -
allow
@authorized
to be used with no arguments- use auth_resource on handler - use http method name for action
Configuration menu - View commit details
-
Copy full SHA for 67ec84e - Browse repository at this point
Copy the full SHA 67ec84eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a693d6 - Browse repository at this point
Copy the full SHA 4a693d6View commit details
Commits on Jan 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4a7da00 - Browse repository at this point
Copy the full SHA 4a7da00View commit details
Commits on Jan 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b0461c7 - Browse repository at this point
Copy the full SHA b0461c7View commit details
Commits on Feb 1, 2022
-
Move Authorizer to existing jupyter_server.auth
since it's a public API packages should import, let's not nest it deep in services.auth.authorizer
Configuration menu - View commit details
-
Copy full SHA for e132169 - Browse repository at this point
Copy the full SHA e132169View commit details
Commits on Feb 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 82a9873 - Browse repository at this point
Copy the full SHA 82a9873View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.