Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1884

WebAC acl:accessTo property requires a trailing slash when the protected resource is the repsitory root

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.5.0
    • Fix Version/s: Fedora 4.5.1
    • Component/s: f4-auth
    • Labels:
    • Sprint:
      Sprint 2015 - 13

      Description

      When creating a WebAC ACL to protect the repository root, you must include a trailing slash in the Authorizations's acl:accessTo predicate, otherwise the Authorization will not match the resource's path in Fedora, and won't get applied.

      The desired behavior is to allow the URI to the repository root to omit the trailing slash (e.g., <http://localhost:8080/fcrepo/rest&gt;) but still have the Authorization apply. In other words, this should be valid:

      <> a acl:Authorization ; acl:accessTo <http://localhost:8080/fcrepo/rest> .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acoburn Aaron Coburn
                Reporter:
                peichman-umd Peter Eichman
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: