Skip to content

Explain app permissions in the Software Center app info #8321

Description

@stephdl

In the Software Center, the app info window lists the container images of an app, but it does not tell the administrator what the app is allowed to do once installed. Some apps can change the firewall, read all mailboxes, or manage users and groups. Others get full access to the node they are installed on. Today the administrator has no simple way to see this before installing the app.

The purpose is to let the administrator understand the power given to an app, in plain words, before clicking Install.

Proposed solution

Add a "Permissions" table to the app info window. Each row explains one thing the app is allowed to do, on which part of the system, and shows the raw permission ID for advanced users.

  • Apps with administrative privileges (rootfull) get a first row saying they have unlimited access to the installation node.
  • Each known role gets a short sentence, for example "Publish and remove web routes" or "Create, change and delete users and groups".
  • Roles of third party apps without a known sentence get a generic text like "Role X on Y".
  • The scope (any instance, the default instance of the node, or the default instance of the cluster) is shown in its own column.
  • The permission that every app gets by default is hidden, because it only lets the app manage itself.

The rootfull warning shown before installation also needs a small fix: it says the app gets full access to the cluster, but the access is to the installation node.

The information already comes with the app metadata, so only the user interface changes. The sentences are translatable, like app categories.

Alternative solutions

Show only the raw permission IDs. This is accurate but hard to read for most administrators.

Additional context

The public app catalog at https://nethserver.github.io/ns8-apps already explains app permissions in a similar way. Both should use the same texts.

See also

Activity

  1. added this to the NethServer 8.11 milestone on Nov 13, 2026
  2. self-assigned this
    on Nov 13, 2026
  3. added theissue type on Nov 13, 2026
  4. moved this from ToDo to In Progress in NethServeron Nov 13, 2026
  5. stephdl commented on Nov 13, 2026

    @stephdl
    Author

    QA

    Update the core to ghcr.io/nethserver/core:3.26.0-dev.2 on a test cluster. Enable the NethForge repository. Then open Software Center, find an app, and click App info.

    1. Rootfull app without roles

    • Open the app info of CrowdSec.
    • The Permissions table has one row: "Unlimited access to the installation node", scope "Installation node", ID org.nethserver.rootfull.
    • Start the install of node_exporter (NethForge, certification level 2). The "Administrative privileges" warning says "full access to the installation node" (not "the cluster"). The warning shows only for rootfull apps below level 3.

    2. Rootfull app with roles

    • Open the app info of Netdata.
    • First row is the unlimited access row.
    • Second row: "Publish and remove web routes", scope "Default Traefik of the node at installation time", ID traefik@node:routeadm.

    3. App with one role

    • Open the app info of Imapsync.
    • One row: "Read all mailboxes and the mail configuration, change relay and always-BCC rules", scope "Any Mail", ID mail@any:mailadm.

    4. App with several roles

    • Open the app info of NethVoice.
    • 8 rows, one per role. node:fwadm,portsadm gives two rows, nethvoice-proxy@any:routeadm,trunkadm gives two rows.
    • Rows for cluster:accountconsumer and node:fwadm show the scope "Cluster" and "Installation node".

    5. Core role and unknown role (NethForge)

    • Open the app info of Automx.
    • traefik@node:reader and mail@any:reader show "Read the configuration and status of Traefik" and "...of Mail".
    • node:reader shows "Read the configuration and status of the node".
    • dnshelper@cluster:dnswriter falls back to "Role dnswriter on Dnshelper", scope "Default Dnshelper of the cluster at installation time".

    6. Table and layout

    • Sort each column. Rows reorder correctly.
    • The pagination bar is grey like the table rows, not white. Check another modal with a table too.
  6. moved this from In Progress to Testing in NethServeron Nov 13, 2026
  7. added
    testing
    on Nov 13, 2026
  8. removed their assignment
    on Nov 13, 2026
  9. DavidePrincipi commented on Nov 20, 2026

    @DavidePrincipi
    Member

    VERIFIED

  10. added
    verified
    on Nov 20, 2026
  11. removed
    testing
    on Nov 20, 2026
  12. moved this from Testing to Verified in NethServeron Nov 20, 2026
  13. DavidePrincipi commented on Nov 20, 2026

    @DavidePrincipi
    Member

    @stephdl while testing I noticed the the wide label traefik@any:routeadm and found it's used by many applications. To track the fixes I opened #8354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

verified

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions