{
return false;
}
Acl acl = aclByDomainObject.get(new Tuple2(AkteraUser.class.getName(), userId));
if (acl != null && acl.checkPermission(principal, new SimplePermission(permission)))
{
return true;
}
for (Integer groupId : userDAO.listGroupIdsOfUserId(userId.intValue()))