Skip to main content
Nikolai_Zorin
Level 2
October 16, 2015
解決済み

Different Permissions on a page

  • October 16, 2015
  • 5 の返信
  • 1137 ビュー

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

このトピックへの返信は締め切られました。
ベストアンサー 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 の返信

Nikolai_Zorin
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. 

joerghoh
Adobe Employee
joerghohAdobe Employee回答
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

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
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

Nikolai_Zorin
Nikolai_Zorin作成者
Level 2
October 16, 2015

Thanks Jorg,

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

Regards,

Nikolai