Skip to content

Users with only acl:Append permission are able to POST ACL files #1418

@angelo-v

Description

@angelo-v

Actual behaviour

Given a container where I have acl:Append permission, but no acl:Control permission
When I POST a file to the container using a Slug header ending with .acl
Then the resource gets created and is considered as a valid ACL

Expected behaviour

Creating ACL resources is only possible with acl:Control permission

Example

Container at path /foo with public write permission containing a resource bar.ttl

Request to create an ACL file for bar.ttl:

POST /foo HTTP/1.1
Content-Type: text/turtle
Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
Slug: bar.ttl.acl

# ACL content

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions