Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23300

Anonymous users don't have access to content in multi repository setup

    XMLWordPrintable

Details

    Description

      On an installation configured in multi repository setup, users are redirected to /login when trying to access content as anonymous in frontend. After login, the content can be accessed. All permissions for anonymous role are set up correctly.

      Steps to reproduce:

      1. Install eZ Publish 5.3;
      2. Duplicate DB;
      3. Duplicate in legacy settings/siteaccess relevant folders. In my case, copied "eng", "ger", "chi" and "ezdemo_site" into "eng2", "ger2", "chi2" and "ezdemo_site2";
      4. Adjust site.ini.append.php legacy settings so that new siteaccesses point to new DB, and also adjust [SiteSettings] and [SiteAccessSettings] sections as necessary (see attached site.ini.append.php file for eng2 siteaccess);
      5. Duplicate the database and siteaccess and group settings in ezpublish.yml settings (see attached ezpublish.yml);
      6. Go to both admin siteaccesses for repository 1 and 2 and adjust the policies for the Anonymous role, so that the necessary user|login|<siteaccess> policies are included (please refer to attached screenshots);
      7. Access a siteaccess that belongs to the first repository (e.g. "eng") in frontend as anonymous. Access is granted;
      8. Access a siteaccess that belongs to the second repository (e.g. "eng2") in frontend as anonymous. You will be redirected to /login page.

      Note: customer setup includes the use of memcached, and DFS cluster.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: