Directive that prints the body of the tag if the current user has permission on entity
usage: <@hasPermission entityName='celiacsprue' permission="WRITE">write permission@hasPermission>
Based on org.springframework.security.web.authentication.AnonymousAuthenticationFilter:
Detects if there is no Authentication object in the SecurityContextHolder, and populates it with one
if needed.
Directive that prints the body of the tag if the current user has no permission on entity
usage: <@notHasPermission entity='celiacsprue' permission="WRITE">no write permission@notHasPermission>