* document ACL but is the creator and owner and the #CREATOR-OWNER ACE must
* be present in the ACL with AccessLevel.VIEW_AS_INT access or above.
*/
public void testCreatorOwnerPermissions() throws RepositoryException {
IDocument doc = (IDocument) ios.fetchObject(ClassNames.DOCUMENT,
new FnId(TestConnection.docId4), null);
List<Value> ownerValue = new ArrayList<Value>();
doc.getPropertyStringValue("Owner", ownerValue);
assertEquals(adminUser.get_Name(), ownerValue.get(0).toString());
Permissions perms = new Permissions(doc.get_Permissions());
assertTrue(perms.authorize(adminUser));