I’m trying to find a way to prevent users from updating or adding an email address using the $IS_ADMIN function. Below are the variables:
- users are in their own User roles within a properly configured Security Group
-right now they can view/edit/delete their profile email address plus add other email addresses - I’d like to use the $IS_Admin function to prevent them from making any email address changes (only an admin should be able to do this)
In a user’s account, I’ve been able to use the $IS_Admin to only show their Username, status and user type without allowing changes. They can also only view the Reports To field and not re-assign to another user. This way they can freely update their contact info with all the associated php files in the Custom folder for future-proofing.
The coding for the Email Settings portion of their profile doesn’t exist in any of the list, edit or detail view.php files (unless I’ve missed it somehow).
Can anyone direct me on this? Many thanks.