Versions Compared

Key

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

...

Code Block
languagebash
titleSetting a custom "Backstop" ACL
export JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.auth.webac.authorization=/path/to/authorizationacl.ttl"

When overriding the default ACL, be aware that the WebAC module expects that file to be in Turtle format.

...

Please note that any use of acl:accessTo will use a different URI scheme to refer to Fedora locations, since this file is not aware of the HTTP location of the repository. This way, the default policy is portable across hostname or port changes. The URIs are created by taking info:fedora and appending the repository the repository path. The root thus becomes info:fedora/ and a container at /pcdm would be info:fedora/pcdm.

...