nextcloud/apps
Daniel Calviño Sánchez 709a74a2ac fix: Fix caching routes by users with an active session
When a user has an active session only the apps that are enabled for the
user are initially loaded. In order to cache the routes the routes for
all apps are loaded, but routes defined in routes.php are taken into
account only if the app was already loaded. Therefore, when the routes
were cached in a request by a user with an active session only the
routes for apps enabled for that user were cached, and those routes were
used by any other user, independently of which apps they had access to.
To solve that now all the enabled apps are explicitly loaded before
caching the routes.

Note that this did not affect routes defined using annotations on the
controller files; in that case the loaded routes do not depend on the
previously loaded apps, as it explicitly checks all the enabled apps.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-12-15 09:53:32 +00:00
..
admin_audit feat(admin_audit): Log cache insert/delete to audit log 2025-12-02 14:32:25 +00:00
cloud_federation_api fix(ocm): normalize protocol to support multi with webdav option 2025-11-11 15:43:54 -01:00
comments fix(l10n): Update translations from Transifex 2025-12-15 00:13:33 +00:00
contactsinteraction fix(l10n): Update translations from Transifex 2025-10-11 00:13:23 +00:00
dashboard fix(l10n): Update translations from Transifex 2025-11-16 00:13:37 +00:00
dav fix: do not truncate birth year to 1970 2025-12-12 15:41:59 +00:00
encryption fix(l10n): Update translations from Transifex 2025-11-27 00:13:45 +00:00
federatedfilesharing fix(l10n): Update translations from Transifex 2025-12-15 00:13:33 +00:00
federation fix(l10n): Update translations from Transifex 2025-11-20 00:14:24 +00:00
files fix(l10n): Update translations from Transifex 2025-12-15 00:13:33 +00:00
files_external fix(l10n): Update translations from Transifex 2025-12-11 00:13:50 +00:00
files_reminders fix(l10n): Update translations from Transifex 2025-12-11 00:13:50 +00:00
files_sharing fix(l10n): Update translations from Transifex 2025-12-15 00:13:33 +00:00
files_trashbin fix(trashbin): deletedBy of a file from a federated folder 2025-12-04 14:47:28 +00:00
files_versions fix(l10n): Update translations from Transifex 2025-12-04 00:14:12 +00:00
lookup_server_connector fix(l10n): Update translations from Transifex 2025-10-11 00:13:23 +00:00
oauth2 fix(l10n): Update translations from Transifex 2025-12-15 00:13:33 +00:00
profile fix(l10n): Update translations from Transifex 2025-11-17 00:13:33 +00:00
provisioning_api fix(l10n): Update translations from Transifex 2025-12-04 00:14:12 +00:00
settings fix(l10n): Update translations from Transifex 2025-12-15 00:13:33 +00:00
sharebymail fix(l10n): Update translations from Transifex 2025-11-23 00:13:43 +00:00
systemtags fix(l10n): Update translations from Transifex 2025-12-15 00:13:33 +00:00
testing fix: Fix caching routes by users with an active session 2025-12-15 09:53:32 +00:00
theming fix(l10n): Update translations from Transifex 2025-12-13 00:13:37 +00:00
twofactor_backupcodes fix(l10n): Update translations from Transifex 2025-12-14 00:13:33 +00:00
updatenotification fix(l10n): Update translations from Transifex 2025-12-08 00:13:33 +00:00
user_ldap fix(l10n): Update translations from Transifex 2025-12-12 00:13:58 +00:00
user_status fix(l10n): Update translations from Transifex 2025-12-08 00:13:33 +00:00
weather_status fix(l10n): Update translations from Transifex 2025-12-08 00:13:33 +00:00
webhook_listeners fix(l10n): Update translations from Transifex 2025-12-12 00:13:58 +00:00
workflowengine fix(l10n): Update translations from Transifex 2025-12-10 00:14:06 +00:00