Users and contacts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frank
    Member
    • Aug 2015
    • 64

    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!
  • yuri
    Member
    • Mar 2014
    • 8627

    #2
    Create SelectManager for Contact and define where clause there.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • Frank
      Frank commented
      Editing a comment
      Are there any examples?
  • Frank
    Member
    • Aug 2015
    • 64

    #3
    Are there any examples?

    Comment

    • yuri
      Member
      • Mar 2014
      • 8627

      #4
      I don't have those. You can learn existing espocrm code. application/Espo/Core/SelectManagers/Base.php access method
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...