0

I am currently implementing the HTTP ACL Request for caldav.

In the following XML document, there is an tag in principal:

<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
    <D:ace>
        <D:principal>
            <D:authenticated/>
        </D:principal>
        <D:grant>
            <D:privilege><D:read-current-user-privilege-set/></D:privilege>
        </D:grant>
    </D:ace>
</D:acl>

With target

 URI: /user/2/caldav/calreadtoauth/
where /user/2/caldav/ is user path of calendar collection 

and calreadtoauth is the calendar name.

and I would like to know the actual meaning of it.

Here are the possible options for the target principal of "" for my understanding:

  1. Refers to users who made the request are authenticated with the HTTP Authentication (Basic or Digest)
  2. Refers to users who have privileges for the target URI (owner, admin or users who have right access the URI base on proper mapping)

I may be wrong and please sincerely give me some suggestion for the implementation of it or the number of options which is closest to the solution. Many Thanks!

DeltaCap019
  • 6,532
  • 3
  • 48
  • 70
George Jor
  • 501
  • 1
  • 7
  • 18

1 Answers1

0

"authenticated" is the name of a group in the access control protocol spec which is defined to include the currently authenticated user. So the answer is 1) above :)

Brad at Kademi
  • 1,300
  • 8
  • 7