@Override
protected List<Node> getModifiedChildren(Arguments arguments, Element element, String attributeName)
{
AggregationState aggregationState = MgnlContext.getAggregationState();
Content activePage = aggregationState.getMainContent();
boolean isAdmin = ServerConfiguration.getInstance().isAdmin()
&& !aggregationState.isPreviewMode()
&& activePage != null
&& NodeUtil.isGranted(activePage.getJCRNode(), Permission.SET);
if (!isAdmin) {
return element.getChildren();