Repository navigation
Releases
Releases · dokieli/web-access-control
v1.1.0
v1.0.0
Making it so! Initial release of @dokieli/web-access-control - a Web Access Control (WAC) client library. Source code derived and extended from https://git.dokie.li/ .
Features
- Effective ACL resource discovery over
Link rel="acl", walking to the parent container on 404 and stopping on 403. - Interprets the
WAC-Allowheader, tolerant of unquoted values and unknown groups. - Queries the authorizations governing a resource: the modes a subject holds, the subjects holding a mode, public access, and control.
- Pure patch planners for granting and revoking access, copying inherited container ACLs.
- Supports client and issuer access conditions, written only where the server advertises support.
- Adapts to the server's acceptable
PATCHmedia types, serializing to N3 Patch or SPARQL 1.1 Update. - Reads Turtle out of the box, or any serialization via a caller-supplied parser returning RDF/JS quads.
- Authentication left to the caller via an injected
fetch.