EZPT: Granting Anonymous user read access to a sections
I created a section so that I can create a simple template overide over all articles in a certain section. Once I created the section I realized that anonymous users do not have access to this section.
Because of the power of eZPublish user policies the interface takes a bit of getting used to. Since it took me a couple tries to get it right, I’m documenting the steps for future use.
- Go to the User Accounts section of the Administrative panel
- Click on “Roles and Policies”
- Edit the Anonymous user
- Click on “New Policy”
- Choose the “Content” module (or if you are using another module select that one)
- Click “Grant Access to one Function”
- Choose function “Read”
- Click “Grant Limited Access”
- Select the limitation, in my case I only want to grant access to one section, so I just choose the section and click OK.
This simple exercise should give you a feel for the power that you can have with just a couple tweaks of the eZpublish user policies.