Issue Task Resolved

#111239Decide backend module access with the authorization checker

Benni Mack 10/25/26, 14:17 updated 11/18/26, 18:55

Description

ModuleProvider::accessGranted() asks the authorization checker for the principal of the request when the module uses a Core access value (user, admin, systemMaintainer). Other users, requests without principal and modules with access gates of extensions keep using the access gates; the workspace restriction is unchanged. A functional test compares the voter with the Core access gates for every registered module.

As voters can deny access, extensions can restrict access to backend modules with a voter of their own.

Reviews 2

History 215

  1. Benni Mack commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2026-11-17T15:50:03+00:00" > 11/17/26, 15:50 </span>

    Not needed anymore, as #111239 fixes it

  2. Gerrit Code Review pushed patch set 15 for main to change 95781 status Closed Under Review <span data-processor="relativetime" data-value="2026-11-17T18:50:52+00:00" > 11/17/26, 18:50 </span>

  3. Thomas Maroschik commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-18T18:55:12+00:00" > 11/18/26, 18:55 </span>

    Applied in changeset commit:0fa0731712ab102c942c22252e3e7c167bdb7ba3.