private String isAccessible(String resourceID,String owner,String currentUser){
if(Utils.isSameDN(owner, currentUser)){
return XregistryConstants.Action.All.toString();
} else{
UserAuthorizer userAuthorizer = globalContext.getAuthorizer().getAuthorizerForUser(currentUser);
return userAuthorizer.isAuthorized(resourceID);
}
}