Different Permissions on a page | Community
Skip to main content
Nikolai_Zorin
Level 2
October 16, 2015
Solved

Different Permissions on a page

  • October 16, 2015
  • 5 replies
  • 1104 views

Hi!

Is it possible to create two levels of permissions for editing a page?

i.e. 2 separate roles, one of which can edit only certain component types e.g. only richtext?

or a role that can create annotations but is not allowed to edit the components on a page?

Thanks!

NZ

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

this is possible, but I do not recommend it. You can set ACLs on component nodes to prevent modifications by a certain group. But you cannot set these kinds of ACLs via the /useradmin UI. If you can apply a general rule (like: all richtext components have the name "richtext*") you could use wildcard ACLs. I don't know how the UI behaves in each and every case.

Anyway, please try to avoid it. You'll likely end up in ACL hell from an overview and management perspective.

kind regards,
Jörg

5 replies

Lokesh_Shivalingaiah
Level 10
October 16, 2015

You can achieve this bye creating 2 different groups with the necessary ACLs and add Users accordingly.

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

this is possible, but I do not recommend it. You can set ACLs on component nodes to prevent modifications by a certain group. But you cannot set these kinds of ACLs via the /useradmin UI. If you can apply a general rule (like: all richtext components have the name "richtext*") you could use wildcard ACLs. I don't know how the UI behaves in each and every case.

Anyway, please try to avoid it. You'll likely end up in ACL hell from an overview and management perspective.

kind regards,
Jörg

Nikolai_Zorin
Level 2
October 16, 2015

I reckon the question is - on what jcr node the ACL should be set? it definitely not on of the /content nodes. 

Nikolai_Zorin
Level 2
October 16, 2015

Thanks Jorg,

Are you aware of the way to control permissions to annotations? 

Regards,

Nikolai

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

Annotations are just properties in the component nodes, so you need to work with wildcard ACLs (rep:glob). Please see [1] for details.

kind regards,
Jörg

[1] http://wiki.apache.org/jackrabbit/AccessControl#Principal-based_ACLs