<g:isLoggedIn>
    <g:ifAnyGranted role="ROLE_ADMIN">
        <span class="appControlButton">
            <g:link controller="appCore" action="admin">
                Admin
            </g:link>
        </span>
    </g:ifAnyGranted>
    <span class="appControlButton">
        <g:link controller="logout">
                Log out
        </g:link>
    </span>
</g:isLoggedIn>

