AEM 6 SP1 - Hiding Attributes in CRXDE Lite

Goal


Hide attribute of a node in CRXDE Lite (specially passwords). In this post we hide the attribute testPassword for user author

For adding a Password type to CRXDE Lite (masking attributes) check this post

Thanks to Justin Edelson and Ravi Kiran for their ideas...

Solution


1) Browse to the path in CRXDE Lite (http://localhost:4502/crx/de) eg. /apps/config.author/com.experienceaem.crxde.lite.ExtensionConfig

2) Here we add a Deny on node /apps/config.author/com.experienceaem.crxde.lite.ExtensionConfig with a glob expression for hiding attribute testPassword

        a) Click on Access Control -> Access Control List -> +

         b) Search for author, provide Deny privilege with glob expression (rep:glob) /testPassword, click OK

3) Login to CRXDE Lite (http://localhost:4502/crx/de) as author and browse to /apps/config.author/com.experienceaem.crxde.lite.ExtensionConfig; testPassword attribute is not visible


No comments:

Post a Comment