WCM USE class creates a MAP from backend Service.
resource.adaptTo(ModifiableValueMap.class).putAll(backendPropertyMAP); // Creates a MAP of all properties custom + authored
In HTML
<a ng-class="${properties.key1fromResource}" ng-disabled="${properties.key2fromResource}"> TEXT </a>
Above snippet works fine when user who has all permissions views the page.
But when I view the page for a user who only has read access on ‘/content/page’ values don’t get printed and end result is
<a> TEXT </a>
One way to handle is store values in JCR nodes which can be fetched in HTML, checking if there is a way to still read properties for a user with Read only access without saving in JCR node.