ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 1 voice, and was last updated by  PaNa 2 years, 3 months ago.

  • Creator
    Topic
  • #12262

    PaNa
    Participant

    Hi there,

    I’m trying to display the action buttons (view,edit..) for an entity in the datagrid, based on the object-based ACL, if set for the user/role. Otherwise the class-based ACL should be used.

    Will using ACL annotation always lead to a class based decision? I already tried an approach with the @ParamConverter annotation. But it seems users get no permission to display the entity, even if they have access on class level and no object-based ACL is specified.

    What is a good approach for the problem?
    Many thanks in advance.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #12272

    PaNa
    Participant

    Okay,

    for me this is working: I used the action_configuration in the datagrid. Registered the service and used the SecurityFacade abd the DoctrineHelper to decide if permission is granted or not.

    Works fine. Any better solutions?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.