Announcement

Collapse
No announcement yet.

Users and contacts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Users and contacts

    I now have the following situation:

    I have a table of users (administrators)
    I have a table of contacts (customers) with their personal information

    Each contact can I assign the responsibility of the user (the one who leads a relationship with him)

    Now every user can see the whole table of contacts (and can filter them by ticking the option "Only my")

    The question is: how can I customize the display of the table of contacts that each user would have seen only those contacts for which he is responsible. Thanks a lot for the help!

  • #2
    Create SelectManager for Contact and define where clause there.

    Comment


    • Frank
      Frank commented
      Editing a comment
      Are there any examples?

  • #3
    Are there any examples?

    Comment


    • #4
      I don't have those. You can learn existing espocrm code. application/Espo/Core/SelectManagers/Base.php access method

      Comment

      Working...
      X