Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to container ACL describing the permissions for its resources #29

Open
janschill opened this issue Apr 11, 2021 · 1 comment
Open

Comments

@janschill
Copy link
Owner

Currently, all resources get a dedicated ACL file, this can be changed to the following to enable the same functionality.

World read on container resources:

@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix target: <./>.

:ReadDefault
    a acl:Authorization;
    acl:default target:;
    acl:agentClass foaf:Agent;
    acl:mode acl:Read.

:ReadWriteControl
    a acl:Authorization;
    acl:accessTo target:;
    acl:default target:;
    acl:agent </profile/card#me>;
    acl:mode acl:Read, acl:Write, acl:Control.
@janschill
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant