FeatureFuel
0

info.xsd: support <permission> sub-element on <navigation> for per-group entry visibility

Source: nextcloud/server#60310 · opened by @rubenvdlinde
Summary apps/info.xsd does not allow a <permission> child element on <navigation> inside <navigations>. Adding one causes occ app:enable to fail with "appinfo file cannot be read" on Nextcloud 32 (current dev). This makes it impossible for an app to declare a permission identifier that admins can grant to groups in the standard NC admin UI specifically for top-bar visibility — separate from the broader app-level group restriction (occ app:enable openbuilt --groups). Reproduce Add to any app's appinfo/info.xml: Run: Result: Why this matters OpenBuilt's RBAC spec ([openbuilt-rbac REQ-OBRBAC-006]( calls for a navigation-entry permission openbuilt.use independent of the per-object RBAC enforced inside the app. Today the workaround is the coarser app-level group restriction (occ app:enable openbuilt --groups team-alpha), which restricts the whole app, not just the top-bar entry. This pattern would benefit any app where an admin wants to ex…

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