juergen     2003/11/24 03:50:06

  Modified:    
testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlMethods/ACLExamples
                        02_ACL2DenyAllForGroupGrantWrite.xml
  Log:
  added userdb group independence to the test case (eckehard)
  
  Revision  Changes    Path
  1.5       +24 -4     
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlMethods/ACLExamples/02_ACL2DenyAllForGroupGrantWrite.xml
  
  Index: 02_ACL2DenyAllForGroupGrantWrite.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/groups/AccessControlMethods/ACLExamples/02_ACL2DenyAllForGroupGrantWrite.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- 02_ACL2DenyAllForGroupGrantWrite.xml      21 Nov 2003 14:39:53 -0000      1.4
  +++ 02_ACL2DenyAllForGroupGrantWrite.xml      24 Nov 2003 11:50:06 -0000      1.5
  @@ -5,9 +5,10 @@
       <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 
%globalVariableGroup% on the collection /test
  -             3) ACL command which grants write access to the all users
  -             4) PUT command carried out
  +             2) MKCOL command which creates a the group _testgroup
  +             3) ACL command which denies all access to the group 
_test%globalVariableGroup% on the collection /test
  +             4) ACL command which grants write access to the all users
  +             5) PUT command carried out
                </description>
       <expectedResult> Both ACL commands should return 200 OK, PUT command should 
return 201 Created  </expectedResult>
     </specification>
  @@ -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to