ssossossosso

Forums

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

This topic contains 5 replies, has 4 voices, and was last updated by Artem Liubeznyi Artem Liubeznyi 1 year, 5 months ago.

  • Creator
    Topic
  • #13667
    Stepan Yudin
    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
  • #13668
    Stepan Yudin
    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

    #13820

    Yurii Muratov
    Oro Core

    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.

    #13821
    Stepan Yudin
    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

    #16489

    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?

    #16571
    Artem Liubeznyi
    Artem Liubeznyi
    Oro Core

    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)

You must be logged in to reply to this topic.