Block access to /#Email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elir
    Junior Member
    • Jun 2015
    • 14

    Block access to /#Email

    Hi, I'm looking for a way to block users for the option to access all emails at espocrm/​#Email,
    While I need that they will have access through a specific lead to this lead relevant email, but not to all of the emails in the system.

    Any suggestions?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi

    Not possible. You need customize it manually.
    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

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      You can create custom Service for Email and throw Forbidden in find() method if not Admin,
      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

      • elir
        Junior Member
        • Jun 2015
        • 14

        #4
        Can you help me with the process of creating custom service, I'm not familiar with that.

        Thanks,
        Eli

        Comment

        • yuri
          Member
          • Mar 2014
          • 8440

          #5
          custom/Espo/Custom/Services/Email.php

          namespace Espo\Custom/Services

          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

          • vmoskalev
            Junior Member
            • Dec 2015
            • 6

            #6
            Hello, I have an issue with access to all data. I need to separate information for two teams. Some users are participants in two teams, they allowed to see all contacts, accounts and others.
            Other users are only participants of one team they should see only information marked for specific team. It seems to be that I configurated access but still all participants see every contacts, account and other information regardless of what team.
            How to solve this issue?

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #7
              Hi



              Maybe need to clear cache.

              Check access for a specific user in Administrations > Users > select user > Access button.
              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

              • vmoskalev
                Junior Member
                • Dec 2015
                • 6

                #8
                Originally posted by yurikuzn
                Hi



                Maybe need to clear cache.

                Check access for a specific user in Administrations > Users > select user > Access button.
                Thank you for your suggestion. I will try to clear cache.

                Comment

                Working...