-
Notifications
You must be signed in to change notification settings - Fork 81
[CS-12420] REST: anon. user/login needed #2505
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
Merged
Merged
Conversation
This file contains hidden or 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
adriendupuis
commented
Oct 2, 2024
adriendupuis
commented
Oct 2, 2024
dabrt
reviewed
Oct 2, 2024
adriendupuis
commented
Oct 2, 2024
adriendupuis
commented
Oct 2, 2024
adriendupuis
commented
Oct 2, 2024
dabrt
approved these changes
Oct 2, 2024
dabrt
reviewed
Oct 2, 2024
Co-authored-by: Tomasz Dąbrowski <[email protected]>
lionelakpagni
approved these changes
Oct 2, 2024
adriendupuis
commented
Oct 9, 2024
adriendupuis
commented
Oct 9, 2024
mnocon
approved these changes
Oct 10, 2024
adriendupuis
added a commit
that referenced
this pull request
Oct 11, 2024
--------- Co-authored-by: Tomasz Dąbrowski <[email protected]> (cherry picked from commit cb82277)
adriendupuis
added a commit
that referenced
this pull request
Oct 11, 2024
--------- Co-authored-by: Tomasz Dąbrowski <[email protected]> (cherry picked from commit cb82277)
adriendupuis
added a commit
that referenced
this pull request
Oct 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
If Anonymous user haven't the
user/loginpolicy with a limitation containing the SiteAccess used for REST, no connection can be established.For example, on a clean install with the policy removed, a 500 error
User 'anon.' doesn't have user/login permission to SiteAccess 'site'will be obtained whatever the ressource, including/user/sessionsto try to establish an authentification.If I now configure a SiteAccess
apiand give to Anonymous auser/loginpolicy limited toapi:The
X-SiteAccessheader overrides the matched SiteAccess as expected.I added a caution to the REST API Authentification by association of ideas and because it's where it can be disturbing, anonymous is used for REST request even when authenticated agaist the REST server.
Preview: https://ez-systems-developer-documentation--2505.com.readthedocs.build/en/2505/api/rest_api/rest_api_authentication/
Checklist