Thursday 20 May 2004 6:21:44 am
Thank you bisk and Dominik Pich but I was unsuccessful with your suggestion. There is a strange thing happened after creating a new anonymous role policy:
Role edit Anonymous
Module: shop
Function: buy Limitations: * The strange thing is when I accessed the Role policies list, I could not see the new role that I had created (shop buy *)
Role / Anonymous
Role view
Role policies
Module Function Limitation
--------------------------
user login *
content read Section( Standard section ) content pdf Section( Standard section ) but when I click the Edit button to jump to the "Role edit Anonymous" page I found the role policy which I had created (in the Current policies table):
Role / Anonymous
Role edit Anonymous
Current policies
Module Function Limitations Edit Delete
---------------------------------------
user login *
content read Section( Standard section )
content pdf Section( Standard section ) shop buy * I tried to clear "All caches" several times in the Cache-admin but the problem still remained. The result was that after creating the new anonymous role policy and clear all caches the anonymous user was still asked to login each time they added a product item to the shopping cart (click the button 'Add to shopping cart' leads to the page index.php/shop/shop/basket).
I could not find the string "RoleSettings" in all of my site.ini files. I found in the file doc/changelogs/2.9/CHANGELOG-2.9-6 the following notes:
index.php:
- Policy check omit list was moved to site.ini under RoleSettings and added support for setting a module/view pair. But I could not find the RoleSettings in the site.ini of the eZ publish 3.4 beta 1 and beta 2. Anyone can help?
|