Issue Bug Closed

#110620Missing admin permissions in "redirects:cleanup" command

Mathias Brodala 09/04/26, 07:39 updated 09/08/26, 10:02

Description

The “redirects:cleanup” runs with a basic CLI user but without any authentication.

This in turn lets the various BackendUserAuthentication::isAdmin() checks fail since the user property is uninitialized. The _cli_ user is supposed to be an admin however.

All of this leads to all matching redirects being filtered out due to a lack of access permission.

Reviews 3

History 36

  1. Mathias Brodala commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-04T11:50:11+00:00" > 09/04/26, 11:50 </span>

    Applied in changeset commit:028b93bddf49a950eb3a58c4606b5e06145fb567.