Skip to content

Lister Pro interferes with viewable users when user-admin-[role] permission is assigned #938

Open
@Toutouwai

Description

@Toutouwai

Short description of the issue

This section of ProcessUser is supposed to limit the users that are listed at Access > Users for those who have been assigned a user-admin-[role] permission. They are only supposed to be able to see users with the role they have been given the user-admin permission for.

Example if user-admin-editor is given to a role:

2019-07-25_154948

But if ListerPro is installed and the "Config" page for the Users lister has ever been saved (even if no customisations have been made) then ListerPro forces the initSelector setting for the Users lister, overriding the limited initSelector that was set by ProcessUser. This reveals users that a person with the user-admin-[role] permission shouldn't be able to see.

Same example as above, but the ListerPro config page has been saved for the Users lister:

2019-07-25_155511

Setup/Environment

  • ProcessWire version: 3.0.135

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions