Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1605

Anonymous user requires read access to config in order to display pages on public instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1 M2
    • None
    • None
    • None
    • 3.1-SNAPSHOT

      AggregatorFilter redericets to a 404 error when anonymous user tries to access the public instance.
      However, after logging into the public instance the pages show without any problems.

      After debugging this with Sameer, we noticed that giving anonymous role a read only access to CONFIG repo resolves the issue; however this is not the right solution since anonymous role should not have any access to config repo.

      • workaround:
        • add read only access to anonymous role on config repo
      • "easy" fix:
        • change the anonymous role public bootstrap file to contain the above fix
      • correct solution:
        • looks like access in filters is done using Magnolia Context which checks permissions and has a misleading error (404 instead of ???)...Perhaps System Context should be used if no side effects exist.

      Sameer has seen this issue as it occurs (using web ex) and is familiar with it.

      Regards
      Amir

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              zambak zam6ak
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD