ssossossosso

Forums

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

This topic contains 1 reply, has 2 voices, and was last updated by  Yurii Muratov 1 month, 1 week ago.

  • Creator
    Topic
  • #37123

    zhex900
    Participant

    Hi,
    Question 1.
    I have the following Owner inline edit for a contact datagrid. It works fine. However the existing owner/user is displayed twice in the auto complete. How do I remove the repeated user?

    Question 2.
    Is it possible for customised drop down select in the inline edit? For example, I want to show users with Sales Role.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #37613

    Yurii Muratov
    Oro Core

    Hi, @zhex900

    Question 1.

    You selected wrong autocompleter for the owner field. The users autocomplete will search users by VIEW permission to User entity.

    In case of owner field you should use another autocomplete that will take an ASSIGN permission for your entity (in your case – Contact) and then limit users for this permission. An example of such inline edit configuration you can find here: https://github.com/oroinc/crm/blob/master/src/Oro/Bundle/AccountBundle/Resources/config/oro/datagrids.yml#L117-L123

    So, in your case, the config will be like:

    Question 2.

    The easiest way to do this is to set Assign permission for all roles except Sales role to null.

    More info about differences between permissions you can find in documentation https://github.com/oroinc/platform/tree/master/src/Oro/Bundle/SecurityBundle#acl

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.