solid / solid-spec

Solid specification draft 0.7.0
Creative Commons Zero v1.0 Universal
1.13k stars 103 forks source link

Deleting folders when invisible files are left #157

Open RubenVerborgh opened 5 years ago

RubenVerborgh commented 5 years ago

When a folder contains only .acl files, the folder listing will show up as empty. This is by design, as we do not wish to show .acl files.

However, when trying to delete the container, it will fail because the container is non-empty; yet we have no way of emptying it because we cannot see the .acl files that are there.

csarven commented 4 years ago

P: The root container's ACL can't be deleted. P: Hierarchical ACL inheritance algorithm. P: Resources come to existence prior to server advertising an associated ACL. P: The lifecycle of a resource and associated ACL (if exists) is coupled. Deleting a resource must remove associated ACL resource (not including inherited ACL). Deleting an ACL doesn't remove all resources that use that particular ACL.

C: A container can't contain any dangling ("invisible") ACLs of the resources under its containment.

Note: The view of a resource, however that is treated eg. whether acl and meta resources are to be "listed" in containment triples, or not, is both orthogonal and overruled by their own lifecycle.

Common resource delete rules apply.