Member Directory can not be displayed with secondary user role
-
Hi everyone,
some of the registered useres of my website have secodary (“other”) user roles, enabled by the functions of the “User Role Editor” plugin.
For example User Henry:
First user role group = RED
Secondary user role group = BLUENow I want to display the member directories with two different pre-configured member directory forms:
FORM_RED = display members of RED (including permissions for search and filtering for all members oF RED)
FORM_BLUE = the same, but for BLUEMy problem:
User Henry can only display the members of RED with FORM_RED, because RED is his first role. He ist not able to see any member of BLUE when he uses FORM_BLUE, because BLUE is his secodary role.
If I invert first and secondary role for Henry, he can display all BLUEs with FORM_BLUE, but cannot see longer anything in FORM_RED.In both cases Henry can see users that have a first or secondary role of RED or BLUE. But he can only display them when he is in the right first user role.
Supplement: Even if I force the membership form to display members of RED and BLUE, Henry (first role = RED) only sees members of RED and not of BLUE.
Ultimate Member version 2.3.1
Wordpress 5.9.1
- The topic ‘Member Directory can not be displayed with secondary user role’ is closed to new replies.