FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests