valtech / aem-advanced-permissions-manager

AEM Advanced Permission Manager
MIT License
1 stars 1 forks source link

Not able to add AAPM Restrictions from AEM Permission console. #7

Closed maroofkhanvaltech closed 2 years ago

maroofkhanvaltech commented 2 years ago

Add a permission restriction from AEM Security | Permissions console.

On adding restriction like hasPropertyValues: allow#string$cq:tags==properties:orientation/portrait and saving it from the UI is not adding the appropriate restriction in the rep:policy node.

It seems for the symbol = the property is not storing in rep:policy, might be due to some logic present in the backend code responsible for using these values when saving it from the permission console UI.

gruberrolandvaltech commented 2 years ago

A solution could be to use EQUALS, LESS, GREATER