solid / authorization-panel

Github repository for the Solid Authorization Panel
MIT License
19 stars 20 forks source link

support Trig serialization of Access Control Resources #247

Open bblfish opened 3 years ago

bblfish commented 3 years ago

On proposal

WAC & ACP

Details

Trig or other Dataset formats such as N3, allow one resource to return content for multiple other resources.

  1. A server could indicate this capability by adding a Link header with an application/trig mime type hint pointing to the Access Control Resource (ACR). So a response to a request on </foo/bar/baz/x> could return:
    Link: </foo/bar/baz/x.acr>; rel="acl"; type="application/trig"
  2. The server on receiving a request with application/trig at a higher priority than other rdf formats, would be able to return the relevant graphs that the client can use to access the data.

This is using DataSets to partition data, as described in Towards supporting multiple semantics of named graphs using N3 rules. It would not alter the logic the client and the server must follow to determine access. They would just receive more information in one request.

Use cases:

Acceptance criteria

What actions are needed to resolve this issue? (checklist)

Note: Reactive Solid has an initial implementation of returning Trig graphs.