Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Fedora 5.0.0
    • Component/s: webac
    • Labels:
      None

      Description

      This task is to resolve the issue of users who have acl:READ access on a resource not being able to perform a HEAD request.

      The issue can be reproduced as follows:
      1. Create a resource
      curl -u fedoraAdmin:fedoraAdmin -v -X PUT http://localhost:8080/rest/test
      2. Give 'testuser' READ access to the above resource
      curl -u fedoraAdmin:fedoraAdmin -v -X PUT http://localhost:8080/rest/test/fcr:acl --data-binary "@acl.ttl" -H "Content-Type: text/turtle"
      ..where "acl.ttl" is:
      ```
      @prefix acl: <http://www.w3.org/ns/auth/acl#> .
      @prefix foaf: <http://xmlns.com/foaf/0.1/> .

      <#restricted> a acl:Authorization ;
      acl:agent "testuser" ;
      acl:mode acl:Read ;
      acl:accessTo </rest/test> .
      ```
      3. Notice success on GET
      curl -i -u testuser:testpass -X GET http://localhost:8080/rest/test
      4. BOOM: Notice failure on HEAD
      curl -i -u testuser:testpass -I http://localhost:8080/rest/test

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peichman-umd Peter Eichman
                Reporter:
                awoods Andrew Woods
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: