Announcement

Collapse
No announcement yet.

How to give users permissions to see some Dashlets. error 403

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

  • How to give users permissions to see some Dashlets. error 403

    Hi,

    I'm having trouble with Dashlets: Opportunities by Stage, Opportunities by Lead Source, Sales by Month and Sales Pipeline.

    Users who are not administrators can not access the information, how could I be changing for the sales manager to see the team information and vendors see only their own?

    My version is 4.0.3

    Thank you all and me sorry for bad English, I'm Brazilian.

  • #2
    Hi

    Not sure, I tested and it worked for users with "team" permission.

    You can change it in the file: application/Espo/Modules/Crm/Controllers/Opportunity.php

    There is a check and throw new Forbidden(); You can change the logic there.

    Comment


    • #3
      how would I do to add new check rules, becoming team all users have access to team information, I would like only one type of cargo had access if the sales manager, when I switch to 'own' the user who created the opportunity is denied access to see their opportunities in Dashlet, I have no knowledge of php programming, could you help me?

      thank you

      Comment


      • #4
        Try to remove throw new Forbidden();

        Comment


        • #5
          Allowed everyone to see the records.

          Comment

          Working...
          X