Uploaded image for project: 'Front Edition'
  1. Front Edition
  2. FRONTEDIT-238

Front edition error: assigning rights for a page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.12.3, 1.13.0
    • None
    • None
    • 4.8.0 M6

      Steps to reproduce bug:

      -Use demo

      -Access the profile assignment tool

      -Remove the admin profile from the root of the sitemap

      -Assign administrator right on any page

      -Access the front office

      -Activate front edition and modify a content on that page

      -Save the content

      Bug:
      JS:

      [Ametys.cms.content.Content]    Une erreur inattendue est survenue lors du verrouillage ou déverrouilage de contenus (La réponse du serveur est incomplète et ne contient pas les informations permettant de continuer le traitement correctement.) 
      

      Ametys Stacktrace:

      Caused by: org.ametys.runtime.authentication.AccessDeniedException: User UserIdentity [login=XXXXX, population=utilisateurs] is not allowed to access front edition
      at org.ametys.plugins.frontedition.DispatchGenerator#_setContextInRequestAttributes:80
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatching:130
      at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:95
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      ... 91 more
      

      This means that customers are going to have to assign rights on the root of the sitemap instead of the desired page which is very dangerous.

            laurence Laurence Aumeunier
            jhawken James Hawken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: