Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1129

An error occured for a regular user of the population when displaying the index of the catalogue

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 2.9.0
    • 2.1.1
    • None
    • None
    • 4.6 M6

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

      The user has only read rights on this page.

          [WORKSPACES-1129] An error occured for a regular user of the population when displaying the index of the catalogue

          I did not reproduce.

          I create a new user in database in an user population of EP (so which has access to catalog site).
          I affect no right to this user and this user belongs to no projet yet

          I can access the catalog index page with no error. Below the index page see by this user:

          I add this user to a projet with "invite" profile (minimal rights)
          The user still access to catalog and projet with minimal rights and no errors

          Laurence Aumeunier added a comment - I did not reproduce. I create a new user in database in an user population of EP (so which has access to catalog site). I affect no right to this user and this user belongs to no projet yet I can access the catalog index page with no error. Below the index page see by this user: I add this user to a projet with "invite" profile (minimal rights) The user still access to catalog and projet with minimal rights and no errors

          By adding the profil "member of a project" on "connected users" and on "index" page of the catalog then I do not have the error.
          So is the documentation not up to date ? is it the code that contains an error ...?

          Frederic Ravetier (Inactive) added a comment - By adding the profil "member of a project" on "connected users" and on "index" page of the catalog then I do not have the error. So is the documentation not up to date ? is it the code that contains an error ...?

            lrey Laurent Rey
            lrey Laurent Rey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: