Hi, yanjie schrieb: > Hi everyone: > I want to give a user some policy to handle a node(read or write or modify..) > , and other users don't have the policy . Or a group has the policy and the > users in the group all have the authentication . how can I use sling to > realize it?
Sling employs the authentication and access control functionality of the underlying JCR repository (Jackrabbit by default). So you have to create users and groups in Jackrabbit (I have applied the SLING-875 patches by Eric Norman today to enable user/group management in Sling. In addition you have to set access control in the repository. This is more problematic at the moment because Jackrabbit 1.5 embedded in Sling only contains partial support for JSR-283 (aka JCR 2.0) access control support. Maybe others on the list are more knowledgeable in this respect... Regards Felix