[stable25] invalidate existing tokens when deleting an oauth client#37231
Merged
[stable25] invalidate existing tokens when deleting an oauth client#37231
Conversation
Merged
fae11df to
58fb023
Compare
come-nc
approved these changes
Mar 15, 2023
blizzz
requested changes
Mar 15, 2023
| public function deleteClient(int $id): JSONResponse { | ||
| $client = $this->clientMapper->getByUid($id); | ||
|
|
||
| $this->userManager->callForAllUsers(function (IUser $user) use ($client) { |
Member
There was a problem hiding this comment.
do not run against all users, but only against known ones (callForSeenUsers).
Also, this should not run in a user request context, only on the background, as it may take ages.
58fb023 to
d905b41
Compare
This was referenced Apr 17, 2023
Merged
Member
|
moving to 25.0.8. What is the state with this PR? |
Contributor
|
all done from my point of view, see discussion in #37230 |
d905b41 to
c2f71bf
Compare
Merged
blizzz
reviewed
Jun 13, 2023
blizzz
reviewed
Jun 13, 2023
blizzz
approved these changes
Jun 14, 2023
Member
|
@individual-it conflicts 😩 |
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
9922fee to
28b9cfb
Compare
Contributor
|
@blizzz fixed |
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
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.
backport of #36033