Is there some way I could disable the Save Button on the “Users/edit User” screen for every one except Admins?
I’d like to let everyone view, but only people in the admin role actually SAVE changes.
Cheers,
/BA
Is there some way I could disable the Save Button on the “Users/edit User” screen for every one except Admins?
I’d like to let everyone view, but only people in the admin role actually SAVE changes.
Cheers,
/BA
Use system.security.getRoles to return the role for the currently logged in user. It would look something like this:
if "Administrator" in system.security.getRoles():
some.additional.script