Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The module adds another REST endpoint to every Fedora object and datastream path. The URL pattern is as follows:

<path to object>/fcr:accessrolesaccessRoles

REST methods:

methoddescription
GETRetrieves the roles assigned on a resource.
GET w/effective parameterRetrieves the effective roles assigned on a resource, which may cascade from an ancestor role assignment.
POSTSets all the roles assigned on a resource.
DELETERemoves any roles assigned on a resource, such that effective roles are inherited again.

The POST and GET methods currently support a JSON structure (as Content-type application/json) where principals are mapped to lists of roles:

...