| | |
| | | #@TestIssue 87 |
| | | #@TestPurpose Test effective rights with read permission |
| | | #@TestPreamble Admin adds an aci. |
| | | #@TestStep Client searches for effective rights in an entry in the targeted branch dn. |
| | | #@TestStep Client searches for effective rights in an entry in the non-targeted branch dn. |
| | | #@TestStep Admin searches for effective rights in an entry in the targeted branch dn. |
| | | #@TestStep Admin searches for effective rights in an entry in the non-targeted branch dn. |
| | | #@TestStep Remove aci. |
| | | #@TestStep Client searches for effective rights in an entry with the previously targeted branch dn. |
| | | #@TestPostamble none |
| | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | <!-- Uncomment when Issue 1620 is fixed |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'attributeLevel;uid: search:0,read:1,compare:0,write:0,selfwrite_add:0,selfwrite_delete:0,proxy:0' } |
| | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | --> |
| | | |
| | | <message> |
| | | 'ACI: Effective Rights: Basic - read, user searching non-targeted entry' |
| | | </message> |
| | |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'ACIRules' , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'dsBaseDN' : 'uid=scarter,ou=People,ou=non-aci branch,o=ACI Tests,dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'attributes' : 'aclRights' , |
| | |
| | | 'testString' : 'uid=scarter,ou=People,ou=non-aci branch,o=ACI Tests,dc=example,dc=com' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'entryLevel: add:0,delete:0,read:1,write:1,proxy:0' } |
| | | 'testString' : 'entryLevel: add:0,delete:0,read:1,write:0,proxy:0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | <!-- Uncomment when Issue 1620 is fixed |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'attributeLevel;uid: search:1,read:1,compare:0,write:0,selfwrite_add:1,selfwrite_delete:1,proxy:0' } |
| | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | --> |
| | | |
| | | <message> |
| | | 'ACI: Effective Rights: Basic - selfwrite, user searching non-targeted entry' |
| | | </message> |