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

Forums Forums OroPlatform Data Grid is showing records of other organization as well…

This topic contains 1 reply, has 2 voices, and was last updated by  akhristiansen 2 months, 2 weeks ago.

  • Creator
  • #31333


    I have build a custom bundle called promotions on oro platform & it has an entity called Promotion. The data grid for promotion shows all the records from the table. I want to show only records that belong to the user organization.

    But don’t allow to do any operations such as edit, delete etc on such records. ACL is not applied properly ?

    What am doing wrong here ?

    My Entity code is below :

    • This topic was modified 2 months, 2 weeks ago by  sachingk.30.
Viewing 1 replies (of 1 total)
  • Author
  • #31335


    Hello, @sachingk.30!
    Try to modify ownership like this

    and add proper fields

    Also, please, remember, that entity can have not only one organization ( UserBundle/Entity/User.phpUser.php entity as example) because of that it is not a good idea to set organisation as owner. Usually, oro entities has User or bussines unit as owners.

    Also it is important to check your role in system – you must have admin rights and belong to business unit that have relation to your entity.

    • This reply was modified 2 months, 2 weeks ago by  akhristiansen.
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.