Expand my Community achievements bar.

SOLVED

AEM custom sling:resourceType permission issue

Avatar

Level 2

Hi

In AEM 6.4 I have created a custom sling:resourceType(customfield)which has two fields - custom text and custom pathbrowser.

However in contributor group, i see that this custom resourceType doesn't have read permission for custom text and custom pathfield by default.

Path: /apps/myproject/components/granite/ui/components/coral/customfield

Node structure for resourceType:

customfield--> resourceSuperType: granite/ui/components/coral/foundation/form/field  (Has read permission by default)

     config-->nt:unstructured (Has read permission by default)

          custom text--> resourceType: granite/ui/components/coral/foundation/form/textfield  --> (No read permission )

          custom url --> resourceType:granite/ui/components/coral/foundation/form/pathbrowser --> (No read permission)

render.jsp

Any help will be really appreciated.

Thanks

Hina

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

with CRXDE Lite you can inspect what ACLs are applied to these nodes. Also I would rather avoid whitespace in resource types.

Jörg

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

with CRXDE Lite you can inspect what ACLs are applied to these nodes. Also I would rather avoid whitespace in resource types.

Jörg