Action action = new SiteNodeAction(context, Type.NODE_VIEW, node);
return brix.getAuthorizationStrategy().isActionAuthorized(action);
}
public boolean canViewNodeChildren(BrixNode node, Context context) {
Action action = new SiteNodeAction(context, Type.NODE_VIEW_CHILDREN, node);
return brix.getAuthorizationStrategy().isActionAuthorized(action);
}