Skip to content

SubAdmins cannot access delegated admin settings??? #30927

Description

@rotdrop

According to this line:

if ($subAdminOnly) {

sub-admins get access to admin-settings which inherit from ISubAdminSettings. However, PR #28189 introduced admin-settings delegation. But the corresponding line following

are never reached for sub-admins. As a result, If a member of a group with for which admin settings have been delegated, is also a sub-admin, then this user will not have access to the delegated settings.

I would assume that this was not intended? I have proposed a fix in PR #30926

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions