%{ boolean allowAccess = controllers.deadbolt.Deadbolt.checkExternalizedRestriction(_externalRestrictions) }% #{if allowAccess} #{doBody /} #{/if}