Jump to content
We've recently updated our Privacy Statement, available here ×

warden54

Members
  • Posts

    2
  • Joined

  • Last visited

Community Answers

  1. warden54's post in Domain security - row level not applying was marked as the answer   
    I figured out what the problem was. The principal expression and filter expression have to be on the same line as the opening tag.
    So while this does not work:
                        <principalExpression>
                           authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['SANDMINE'] }
                        </principalExpression>
    This works just fine:
                        <principalExpression>authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['SANDMINE'] }</principalExpression>
×
×
  • Create New...