Changing a user’s role with a button
-
Hi, thanks for producing a great plugin, but I have a problem and I would like to know if anyone can help me.
I created several roles to separate each user by a certain role and thus to release the access of certain pages only to the user that is of that role.
I have done is ready all the part of setting the roles and blocking or releasing page that each role belongs to, but now I have a problem:
I need a function so that as soon as the user registers he can click somewhere he switches his function, so he stops being an editor and becomes a salesman only with the click of a button, or marking any option of your registration.
Ex. You register in the portal and at first it is a simple user, but you want to be a salesperson and to avoid having to send contact to the site developer, the user clicks a button and calls the certain function so that he can become a seller.
I am not sure how I create this interaction with the plugin of yours.
Someone can help me.
Thank you for your help.
- The topic ‘Changing a user’s role with a button’ is closed to new replies.