OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions How do I display action buttons in datagrid based on object ACL

This topic contains 1 reply, has 1 voice, and was last updated by  PaNa 5 years, 1 month ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #36025


    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
  • #36026



    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)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No