Principal "everyone" is not clear

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Principal "everyone" is not clear

drfits
Dear All,

 

Can you please explain the purpose of the "everyone" ACL within
repoinit.txt? I've tried to find everyone in user/group list but OOTB we
have only anonymous and admin users.

 

Code example:

 

set ACL for everyone

    allow  jcr:read  on /

end

 

Link to the initialization:
https://github.com/apache/sling-org-apache-sling-starter/blob/master/src/mai
n/provisioning/repoinit.txt#L29-L31

 

С уважением,

Фицнер Евгений Владимирович /

Best Regards,
Evgeniy Fitsner

 

e-mail:  <mailto:[hidden email]> [hidden email]

Skype: drfits

 

Reply | Threaded
Open this post in threaded view
|

Re: Principal "everyone" is not clear

Robert Munteanu-2
Hi Evgeniy,

On Sun, 2017-11-26 at 15:57 +0300, [hidden email] wrote:
> Can you please explain the purpose of the "everyone" ACL within
> repoinit.txt?

The 'everyone' principal is a 'virtual' ( for lack of a better term )
principal that matches, well, everyone. You can think of it as a group
in which every other principal is container.

By allowing jcr:read access to everyone on '/', we allow every
principal jcr:read rights for the whole repository.

Thanks,

Robert