-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[stable25] invalidate existing tokens when deleting an oauth client #37231
Conversation
fae11df
to
58fb023
Compare
@@ -92,6 +104,11 @@ public function addClient(string $name, | |||
|
|||
public function deleteClient(int $id): JSONResponse { | |||
$client = $this->clientMapper->getByUid($id); | |||
|
|||
$this->userManager->callForAllUsers(function (IUser $user) use ($client) { |
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.
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
moving to 25.0.8. What is the state with this PR? |
all done from my point of view, see discussion in #37230 |
d905b41
to
c2f71bf
Compare
@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
@blizzz fixed |
backport of #36033