0
Apps limited to groups are loaded for users outside of these groups
Source: nextcloud/server#67445 · opened by @susnux
Description Since #60071 (Nextcloud 34), AppManager::loadApps() loads all enabled apps on every request, including apps that are limited to specific groups: Before, \OC_App::getEnabledApps() only returned the apps enabled for the current user, so a group-limited app was never loaded for users outside its groups. Now boot(), event listeners, hooks and appinfo/routes.php routes of such apps run for every user. The remaining gate is the SecurityMiddleware, which rejects AppFramework controllers of apps not enabled for the user — except public pages: Everything not covered by that check is now reachable or executed for users outside the allowed groups, e.g.: • code in an app's boot()/register() and its event listeners (sidebar tabs, file actions, search/reference providers, notifiers, dashboard widgets registered without their own isEnabledForUser() check), • legacy routes/endpoints not going through the AppFramework controller checks, • app code that assum…
No pledges yet. Be the first to back this.
Comments
Similar requests
Recently used/pinned apps in top bar
0 votes · 0 comments
[Bug]: Group admin view: missing groups and numbers in sidebar
0 votes · 0 comments
The new user templates for groups
1 vote · 0 comments
Unified Search Redesign
5 votes · 0 comments
[Bug]: User group dropdown limited to only 25 groups
1 vote · 0 comments
No comments yet.