-
Notifications
You must be signed in to change notification settings - Fork 332
Disallow changing user display name, handle in mlsE2EId-enabled teams #3827
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
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
3eb0432
Integration tests: can not change some user data in mlsE2EId teams.
fisx f5d986e
Fix: block changes in the backend.
fisx 99188d5
Fix: lie about managed_by in `GET /self`, but only there.
fisx f900188
Changelog.
fisx d1e0bed
Spelling consistency (to some extent...).
fisx f7909bd
hi ci
fisx 282a03a
Update changelog.d/1-api-changes/WPB-6189
fisx 3554aa8
Spelling consistency (to some extent...).
fisx e745790
Merge remote-tracking branch 'refs/remotes/origin/WPB-6189-e2eid-free…
fisx ff15fce
More consistent use of domain references.
fisx 4c5faa7
Disambiguate.
fisx 8fad84a
Use HasTests.
fisx 62c4aa8
Update services/brig/src/Brig/API/User.hs
fisx c3182c4
Merge remote-tracking branch 'refs/remotes/origin/WPB-6189-e2eid-free…
fisx 051e042
Test display name integrity after change was blocked.
fisx d848059
Typo.
fisx 76b2c9e
Make brig API more coherent.
fisx 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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Block changes of userDisplayName, userHandle in mlsE2EI-enabled teams on the backend without SCIM; report `"managed_by" == "scim"` in `GET /self`, but only there |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,6 +99,7 @@ library | |
| API.Gundeck | ||
| API.GundeckInternal | ||
| API.Nginz | ||
| API.Spar | ||
| MLS.Util | ||
| Notifications | ||
| RunAllTests | ||
|
|
||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| module API.Spar where | ||
|
|
||
| import GHC.Stack | ||
| import Testlib.Prelude | ||
|
|
||
| -- | https://staging-nginz-https.zinfra.io/v6/api/swagger-ui/#/default/get_scim_auth_tokens | ||
| getScimTokens :: (HasCallStack, MakesValue caller) => caller -> App Response | ||
| getScimTokens caller = do | ||
| req <- baseRequest caller Spar Versioned "/scim/auth-tokens" | ||
| submit "GET" req |
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.