Details
-
Bug
-
Resolution: Invalid
-
High
-
5.3.2
-
None
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.