Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12180

Preview of images in resources explorer does not work anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.8.2, 4.9.0
    • None
    • None
    • None
    • 4.9.0 M1
    • Oui

      The requested url for preview leads to a 403 forbidden (whereas anonymous users has READ access to all resources

      https://demo.ametys.org/nightly-intranet-cms/plugins/explorer/resource?id=resource://99130d55-642f-4cd9-8fdc-523e6c5e750f&maxWidth=100&maxHeight=100

      Caused by: org.ametys.runtime.authentication.AccessDeniedException: User UserIdentity [login=admin, population=ametys_demo_users] has no right to access the resource resource://829bb205-0d6c-432b-b635-42f56cbbe12c
      	at org.ametys.plugins.explorer.resources.readers.AmetysResourceReader.checkUserAccess(AmetysResourceReader.java:152)
      	at org.ametys.plugins.explorer.resources.readers.AmetysResourceReader.doSetup(AmetysResourceReader.java:88)
      	at org.ametys.core.util.cocoon.AbstractResourceReader.setup(AbstractResourceReader.java:66)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupReader(AbstractProcessingPipeline.java:597)
      	... 67 more
      

            ggouin Guillaume Gouin
            laurence Laurence Aumeunier
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: