Uh oh!
There was an error while loading. Please reload this page.
[stable26] invalidate existing tokens when deleting an oauth client - #37230
Conversation
| 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.
should be run for known users, not all users, and not in user facing requests as it may take ages
There was a problem hiding this comment.
The same thing was merged in master and stable24 already :-/
Why would it take ages?
There was a problem hiding this comment.
because it will ask all connected backends to all users. not an issue on small local instance, but a factor on big setups.
There was a problem hiding this comment.
@blizzz do you mean using callForSeenUsers() instead of callForAllUsers()?
There was a problem hiding this comment.
@blizzz do you mean using
callForSeenUsers()instead ofcallForAllUsers()?
yes, and ideally it runs through background jobs only
There was a problem hiding this comment.
There was a problem hiding this comment.
Depending on the instance size it may cycle over x thousands of users.
blizzz
commented
Mar 16, 2023
moving to 26.0.1 (as final RC3 is due) |
55e0975 to
e25b640Comparecome-nc
commented
Apr 5, 2023
This will need to be backported to stable25, and the callForSeenUser change needs to be ported to master as well in a smaller PR |
individual-it
commented
Apr 17, 2023
blizzz
commented
May 17, 2023
CI is failing, at least PHPUnit / phpunit-oci (8.2) might be related |
→ 26.0.3 |
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>
e25b640 to
cb005f6CompareSigned-off-by: Artur Neumann <artur@jankaritech.com>
individual-it
commented
May 19, 2023
@blizzz unit tests fixed, also for the other repos |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
backport of #36033