Announcement Announcement Module
Collapse
No announcement yet.
Access to target object in hasPermission() Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access to target object in hasPermission()

    Hello, I'm trying to authorize some methods on my entities, like myEntity.persist(). There is any way to access to myEntity object in the expression hasPermission()? I know that I can access to arguments, but I don't know how to access the target method.

    Thank you.

  • #2
    See this JIRA

    Comment


    • #3
      Thanks, that's what I was looking for.

      Comment

      Working...
      X