Description
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:
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:
Setup/Environment
- ProcessWire version: 3.0.135