Can't edit group email account (7.1.7)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dimyy
    Active Community Member
    • Jun 2018
    • 569

    Can't edit group email account (7.1.7)

    Log file:

    Строка 11302: [2022-06-16 07:48:01] DEBUG: API (403) PUT /InboundEmail/612e2b585f7afcba8; Input data: {"useImap":false,"addAllTeamUsers":false}; Route pattern: /{controller}/{id}; Route params: Array ( [controller] => InboundEmail [action] => update [id] => 612e2b585f7afcba8 ) [] []
    Строка 11303: [2022-06-16 07:48:01] NOTICE: (403) PUT /InboundEmail/612e2b585f7afcba8; line: 723, file: /home/work/public_html/application/Espo/Core/Record/Service.php [] []

    The error is reproduced on two systems. I try users with admin password, super admin, group account owner. The result is the same.
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Not reproducible on my instances.
    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

    • dimyy
      Active Community Member
      • Jun 2018
      • 569

      #3
      We have two different instances. The only unifying system is an upgrade from the 6th version

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 809

        #4
        Hi dimyy,

        Try removing this account and adding it again.
        Will the error occur again? Check it, please.

        Comment

        • dimyy
          Active Community Member
          • Jun 2018
          • 569

          #5
          I can't add new accounts with the same error. Also I am trying to create a new admin user. The new admin user also cannot edit old accounts and cannot create new ones.

          Comment

          • dimyy
            Active Community Member
            • Jun 2018
            • 569

            #6
            Interesting. In cache\application\acl"myUserId".php I see:
            PHP Code:
            'Extension' => (object) [
            'create' => 'no',
            'read' => 'all',
            'edit' => 'no',
            'delete' => 'all'
            ],
            'ExternalAccount' => true,
            'Import' => true,
            'InboundEmail' => (object) [
            'read' => 'all'
            ],
            'Integration' => (object) [
            'read' => 'all',
            'stream' => 'all',
            'edit' => 'all',
            'delete' => 'all',
            'create' => 'yes'
            ],
            'Job' => (object) [
            'create' => 'no',
            'read' => 'all',
            'edit' => 'no',
            'delete' => 'all'
            ], 
            
            InboundEmail have only "read" permission.
            If I manually add "delete" permission: all ok

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #7
              Maybe you have custom metadata > scopes > InboundEmail.
              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


              • dimyy
                dimyy commented
                Editing a comment
                Your are absolutely right!

                Customization required granting rights to group mailboxes and aclActionList keys were added
            Working...