ssossossosso

Forums

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

This topic contains 5 replies, has 3 voices, and was last updated by golriz.nourani golriz.nourani 2 weeks ago.

  • Creator
    Topic
  • #21771
    golriz.nourani
    golriz.nourani
    Participant

    Dear Sir
    I set capacity of export false on role management but users with that role can export from data grid.
    could you help me?
    thanks
    Golriz

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

    abel
    Participant

    As I understand, you want export data from datagrid?
    If true, you can use

    in config datagrid

    #22134
    golriz.nourani
    golriz.nourani
    Participant

    Dear Abel
    I set option of export true for all datagrid but I don’t want all user can get export so I set export capacity of some role false to prevent them get export .
    is there any acl of Capabilities for export of datagrid?
    thanks

    #22139

    abel
    Participant

    Sorry nourani!
    I do not have any idea for this problem.
    May be someone in oro team can help you :)

    #22443
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    By default capability Export Entities works with Export button at top-right angle of site. You must create new acl resource on your bundle depending on which version of platform you are using. For example <= 1.9 or >=1.10 with category option. My new datagrid export resource is:

    Further i have modified vendor/oro/platform/src/Oro/Bundle/DataGridBundle/Extension/Export/ExportExtension.php (you must extend this file in your bundle):

    After that don’t forget run:

    and add security facade to your extension:

    #40749
    golriz.nourani
    golriz.nourani
    Participant

    Hi Mike
    Today again I use your guild . I must say thanks a lot.
    Golriz

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

You must be logged in to reply to this topic.