-
Notifications
You must be signed in to change notification settings - Fork 14
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
(api) Add option to enforce use of scopes (all/read
, all/write
, etc.) [after #448]
#441
Closed
Leobouloc
wants to merge
30
commits into
structure/refactor-statements-tests
from
feature/enforce-scopes
Closed
Changes from 27 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
cd56b1b
wip
Leobouloc e9bab53
changed env variable name
Leobouloc 042f056
changed env variable name
Leobouloc f228fee
WIP
Leobouloc a30cce3
wip
Leobouloc 80ab2aa
wip
Leobouloc 2f3e497
merge with master
Leobouloc fa7252b
wip
Leobouloc 33ba613
wip
Leobouloc 77a0e42
wip
Leobouloc 52eaf73
simplified test naming
Leobouloc 2b6baf7
simplified test naming
Leobouloc f2a1959
wip
Leobouloc b980645
wip
Leobouloc ef34f2f
cleaning and linting
Leobouloc 19e1093
wip
Leobouloc 1ea7032
wip
Leobouloc 716b645
factoring mock statements in tests
Leobouloc 40ccff8
add scope testing for put and post
Leobouloc 9e11f27
lint
Leobouloc 377691d
fix basic auth test
Leobouloc 67640ed
lint*
Leobouloc 798c852
factorize mock statement creation in put tests
Leobouloc fe76b4f
fix bugs + cleaning
Leobouloc d3e5f05
lint
Leobouloc d1fddc0
lint
Leobouloc aa62099
Merge branch 'master' into feature/enforce-scopes
Leobouloc 1fb5959
Forbid scopes without authority
Leobouloc 932a1c7
fix Annotated import for python3.8
Leobouloc e06784e
fix mock_statements
Leobouloc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be possible to define them with a wildcard? E.g.
statements/read/*
and*/read/*
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefered this explicit syntax as it seemed clearer when reading the code, but I can change this.
Anyone else has an opinion ?