Multiple user roles.
-
Rather than check just the first role a user has in:
public function bausp_get_current_user_role() { … }
Should this not check all the roles which a user has?
I know in most cases a user would only have a single role but for sites which have users with multiple roles this presents a problem and potentially hides content despite them having the required role.
This is something which I experienced with a customer website a few days ago and thought that it would be beneficial if the functionality was added to the plugin as standard.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Multiple user roles.’ is closed to new replies.