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 2002/08/07 08:39:31 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition ACE-ConflictGrantAllDenyWrite.xml
juergen 2002/08/06 23:39:31
Modified: testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition
ACE-ConflictGrantAllDenyWrite.xml
Log:
changed test case to ACL Spec example (eckehard)
Revision Changes Path
1.2 +2 -7 jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition/ACE-ConflictGrantAllDenyWrite.xml
Index: ACE-ConflictGrantAllDenyWrite.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition/ACE-ConflictGrantAllDenyWrite.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ACE-ConflictGrantAllDenyWrite.xml 24 Jun 2002 11:22:52 -0000 1.1
+++ ACE-ConflictGrantAllDenyWrite.xml 7 Aug 2002 06:39:31 -0000 1.2
@@ -10,7 +10,7 @@
1) ACL command which grants all access and denies write access to the user %user%
</description>
- <expectedResult> ACL command should return 403 Forbidden </expectedResult>
+ <expectedResult> ACL command should return 400 Bad Request </expectedResult>
</specification>
<step>
@@ -30,12 +30,7 @@
<D:grant>
<D:privilege><D:all /></D:privilege>
</D:grant>
- </D:ace>
- <D:ace>
- <D:principal>
- <D:href>/administration/security/users/%host%/%user%</D:href>
- </D:principal>
<D:deny>
<D:privilege><D:write /></D:privilege>
</D:deny>
@@ -45,7 +40,7 @@
</body>
</request>
<response>
- <command>HTTP/1.0 403 Forbidden</command>
+ <command>HTTP/1.0 400 Bad Request</command>
</response>
</step>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>