How to Disable the “Change Password” Button for AEM in Touch UI and Classic UI

05287_Disable-Change-Password-button
We had a customer ask us how to disable the “Set Password” (Classic UI) and “Change Password” (Touch UI) features for a user who doesn’t have permissions to change a given password. The default behaviour in Adobe Experience Manager is to show the link, but issue an error when you actually try to set it. This code package, which you can download, makes some small modifications to the UI to simply disable or hide the control if the user doesn’t have permissions to perform the operation.

ChangePasswordvisibleinTouchUI
Change Password visible in Touch UI

ChangePassworddisabledinTouchUI
Change Password disabled in Touch UI

SetPasswordvisibleinClassicUI
Set Password visible in Classic UI

SetPassworddisabledinClassicUI
Set Password disabled in Classic UI

We’re always happy to answer your questions, so ask us on Twitter (@Axis41) or email [email protected].