You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2003/11/24 12:45:47 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlMethods/ACLExamples 01_ACL2DenyAllForGroupGrantRead.xml

juergen     2003/11/24 03:45:47

  Modified:    testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlMethods/ACLExamples
                        01_ACL2DenyAllForGroupGrantRead.xml
  Log:
  added userdb group independence to the test case (eckehard)
  
  Revision  Changes    Path
  1.4       +22 -2     jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlMethods/ACLExamples/01_ACL2DenyAllForGroupGrantRead.xml
  
  Index: 01_ACL2DenyAllForGroupGrantRead.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlMethods/ACLExamples/01_ACL2DenyAllForGroupGrantRead.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- 01_ACL2DenyAllForGroupGrantRead.xml	21 Nov 2003 14:39:53 -0000	1.3
  +++ 01_ACL2DenyAllForGroupGrantRead.xml	24 Nov 2003 11:45:47 -0000	1.4
  @@ -5,7 +5,8 @@
       <abstract> Test to check ACL command </abstract>
       <description>
   		1) MKCOL command which creates a child collection (/test)
  -		2) ACL command which denies all access to the group groups/%globalVariableGroup% on the collection /test
  +		1) MKCOL command which creates the group _testgroup
  +		2) ACL command which denies all access to the group groups/_test%globalVariableGroup% on the collection /test
   		3) ACL command which grants read access to the all users
   		4) Head command carried out
   		</description>
  @@ -19,6 +20,16 @@
         <command>HTTP/1.0 201 Created</command>
       </response>
     </step>
  +  
  +      <step>
  +    <request>
  +      <command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName">MKCOL %globalVariableRootUserPath%/%globalVariableGroupsColl%/_test%globalVariableGroup% HTTP/1.1</command>
  +    </request>
  +    <response>
  +      <command>HTTP/1.0 201 Created</command>
  +    </response>
  +  </step>
  +
     <step>
       <request>
         <command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  @@ -27,7 +38,7 @@
   <D:acl xmlns:D="DAV:">
     <D:ace>
       <D:principal>
  -      <D:href>%globalVariableRootUserPath%/groups/%globalVariableGroup%</D:href>
  +      <D:href>%globalVariableRootUserPath%/groups/_test%globalVariableGroup%</D:href>
       </D:principal>
       <D:deny>
         <D:privilege>
  @@ -93,6 +104,15 @@
       <step>
         <request>
           <command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
  +      </request>
  +      <response>
  +        <command>HTTP/1.0 204 No Content</command>
  +      </response>
  +    </step>
  +    
  +    <step>
  +      <request>
  +        <command varUsage="globalVariableRootUserPath,globalVariableGroupsColl,globalVariableGroup,globalVariableServerName">DELETE %globalVariableRootUserPath%/%globalVariableGroupsColl%/_test%globalVariableGroup% HTTP/1.1</command>
         </request>
         <response>
           <command>HTTP/1.0 204 No Content</command>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org