Skip to content

Access Control Resource discovery #228

Open
@matthieubosquet

Description

@matthieubosquet

On proposal

ACP, WAC, WAC+...

Details

An Access Control Resource is discovered via a Link header on HEAD and GET requests to the resource over which it mandates access.

The initial editor draft of the WAC specification proposes registering the IANA Link Relation name acl.

Two main strands of link relation names are discussed:

  1. Having a standard IANA registered link relation name for access control resources & supporting both the short relation name and its corresponding IRI on the client. For example, a registered relation name acl would correspond to the IRI https://www.w3.org/ns/iana/link-relations/relation#acl.
  2. Support one IRI that would be a property in the most relevant ontology.

Two approaches on access control resource discovery could be used:

  1. Denoting the type of access control system in use in the link relation name, which would mean having a specific relation name for each authorization system (for example, WAC, ACP, WAC+)
  2. Denoting the type of access control system in a link type header when dereferencing the Access Control Resource

The latter seems more ideal, first and foremost because it allows the use of a standard header accross the whole Solid ecosystem for access control resource discovery.

One additional point would be good to clarify:

  • Should an Access Control Resource mandating control over itself follow the same Access Control Resource discovery mechanism and therefore reference itself via the chosen Link header on HEAD and GET requests?

We could maybe consider registering a standard IANA link relation:

Relation name Description Reference
access-control Refers to a resource mandating access over the link's context. Solid Protocol

Reasons for spelling out "access control" instead of using "acl" could include:

  • The specificity seems more adequate, that is, a resource that is not strictly speaking an acl could mandate control over the current context
  • The currently registered standard relationships are not acronyms and it seems to me that the clear and explicit spelling "access-control" for a link relation would have positive effects on adoption (potentially beyond Solid and generally for access control discovery)
  • It would eliminate the conflation of (or clarify the difference between) access control discovery and access control system

Acceptance criteria

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

  • Discuss whether the access-control relation name is more adequate than acl
  • Agree on the reason for registering a standard IANA relation name
  • Agree on denoting the type of access control system in a link type header
  • Agree on standard self-referencing for access control resources mandating access over themselves
  • Reflect the decision in the relevant specifications (Solid protocol, ACP, WAC)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions