Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5094

'view' 'section' is mandatory otherwise CRITICAL in the logs

    XMLWordPrintable

Details

    • Yes

    Description

      Steps to reproduce:

      1. Connect to the BO with a user who does not have 'view' 'section' permission
      2. Execute the following command to display critical application errors: tail -f /var/log/app.log | grep 'CRITICAL'
      3. Position yourself on the BO on a page that contains at least 1 child.
      4. The tail -f reports an error as below per child of the page

      Result:

      app.CRITICAL: [GraphQL] eZ\Publish\Core\Base\Exceptions \UnauthorizedException: The User does not have the 'view' 'section' permission[401] (caught throwable) at /var/www/html/project/ezplatform/vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/Repository /SectionService.php line 200. {"exception":"[object] (eZ\\Publish\\Core\\Base\\Exceptions\\UnauthorizedException(code: 401): The User does not have the 'view' 'section ' permission at /var/www/html/project/ezplatform/vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/Repository/SectionService.php:200)","throwable":"[object] (eZ\\ Publish\\Core\\Base\\Exceptions\\UnauthorizedException(code: 401): The User does not have the 'view' 'section' permission at /var/www/html/project/ezplatform/vendor/ezsystems/ezplatform- kernel/eZ/Publish/Core/Repository/SectionService.php:200)"}
      

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              pawel.pawlik@ibexa.co Paweł Pawlik
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: