OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions Show custom ACL resource in Role form

This topic contains 5 replies, has 4 voices, and was last updated by  Artem Liubeznyi 8 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
    Topic
  • #36105

    Stepan Yudin
    Participant

    I created custom ACL resource via acl.yml like

    can_unblock_entities:
    label: Unblock entities
    type: action
    group_name: "Some Group"
    bindings: ~

    This resource is not related to Controller action or Entity. It s like a capability, but i dont want to show this resource in Capabilities tab (in Role form).
    So how can i show this ACL resource in Role form? For example i need additional tab ‘Special access group’ in Role form with this new ACL resource.


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #36106

    Stepan Yudin
    Participant

    I found that configuration file in UserBundle content array of ACL resources tabs:

    But how to extend this config?


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

    #36107

    Yurii Muratov
    Participant

    Hi, @stepan-sib.

    Unfortunately there is no easy way to implement your request.

    I have created an improvement and have added it to our backlog. I will let you know in this topic when it will be completed.

    #36108

    Stepan Yudin
    Participant

    Hi, Yurii!

    That would be great, thank you!
    Its not a big problem for me to create a custom page to manage my custom ACL resources. But i will wait for a vendor solution anyway)


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

    #36109

    archy_bold
    Participant

    Was any progress made on this? I’ve created a new ‘action’ Acl on a controller and it doesn’t appear in the capabilities section.

    So do I need to create a new view to manage my custom acl actions?

    #36110

    Artem Liubeznyi
    Spectator

    Hi Archie,

    We are indeed making progress on this. Our OroCommerce team is developing the so-called Actions that will included into the ACL management UI without any additional hassle.

    Actions are not merged into Oro Platform yet but we expect this to happen later this year.

    Please check the bundle documentation on GitHub to learn more.

Viewing 5 replies - 1 through 5 (of 5 total)

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

Back to top