Sections and privileges

Author Message

Jason Filby

Tuesday 25 November 2003 11:27:42 am

Hi all

What's the best way to only allow a user to see content in a specific section based on user privileges? For example, only Administrator users would be allowed to see content under section 5.

Thanks
Jason

Tore Skobba

Wednesday 26 November 2003 2:29:37 am

Make a role with read access to all content in the specific section, then assign all user groups which should read that content to the role.

Cheers
Tore

Marco Zinn

Wednesday 26 November 2003 3:01:41 pm

Addition to the first post:
When you want to hide content from "common users", especially from anonymous, you probably must change the role "Anonymous".
Our setup:
- public stuff is "section 1". Anonymous can read the used classes (folders, articles, images, files) in section 1, but only in this section
- other, more secret stuff has it's own section and uses corresponding roles, which are assigned to user groups
- admin stuff has its own section, which only the admin role can read/edit.

Marco
http://www.hyperroad-design.com

Jason Filby

Friday 28 November 2003 1:04:01 pm

Thanks for the advice!

Cheers
Jason

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.