Tagged: user capability
- January 29, 2020 at 6:44 am #94242
We would like our ‘sales manager’ to set pricing levels by selecting any user capability ( ex. customer / trade / wholesale ) but not accidently set a customer to their own level ‘sales manager’. When testing as a ‘sales manager’ their own level shows as an option in the user area. How can I remove their own user level not to show as an option here?January 29, 2020 at 7:05 pm #94246
Using “User Level Permissions” you can remove higher level roles. That means they will be able to promote users up to “Sales Manager”. So its not possible with current implementation.
Let me see whether I can give you a custom code to work around this issue.
SyamFebruary 5, 2020 at 8:08 pm #94542This reply has been marked as private.February 5, 2020 at 11:47 pm #94549
Thanks. I added this to my child theme and it works perfectly!February 6, 2020 at 8:58 pm #94607
Glad to hear.
ThanksFebruary 26, 2020 at 11:24 pm #95343
I’ve found another security hole. The user has access to Users : Assign/Migrate where they can assign a user to theirs and other roles. How an I allow this user to use the User module and limit this user from the Assign/Migrate function?February 27, 2020 at 9:48 pm #95386
Are you saying that the custom code I gave you doesn’t work in the “Assign/Migrate” page? Or is it something else?
You must be logged in to reply to this topic.