Protected area, roles and permissions.

Author Message

Daniel Sippel

Thursday 02 March 2006 12:59:11 am

Hello!

I want to set up an protected area within my eZ publish intranet site. At the moment, the whole content is public (Role "Anonymous" assigned to the anonymous user) and login is not necessary.

I created an folder and want, that just users of a specific user groups can access this folder.

I tried to give the anonymous user the role "Anonymous" with limitation to the parts of the tree structure, which anonymous users should be able to view. Almost everything is fine, but now anonymous users aren't able to view the "main page" (the folder on top of the content structure) anymore.

How to solve this problem? Is it possible to deny access to content by role?

Thanks for your help,

Daniel

Stéphane Bullier

Thursday 02 March 2006 1:11:47 am

Hello,

First, you have to created a section (private) : Setup part "Section".

Second, you creat a new group of user (exemple private group) and after user in this group.

Third, you creat a folder in the content structure, exemple "Private folder". And you have to associate the section "Private" with this folder.

Finally, you have to fix the role and policy for the new group.

Good luck.

PS : a good french tutorial http://www.linuxorable.net/ez_pascal/index.php/linuxorable/trucs_astuces/utilisateurs_et_groupes_d_utilisateurs/acces_par_login_et_password

 

Stéphane

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

eZ debug

Timing: Jan 31 2025 04:22:12
Script start
Timing: Jan 31 2025 04:22:12
Module start 'layout'
Timing: Jan 31 2025 04:22:12
Module start 'content'
Timing: Jan 31 2025 04:22:12
Module end 'content'
Timing: Jan 31 2025 04:22:12
Script end

Main resources:

Total runtime0.0131 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.2500151.2266
Module start 'layout' 0.00440.0024 739.476636.6797
Module start 'content' 0.00680.0050 776.156390.0625
Module end 'content' 0.01180.0013 866.218829.9922
Script end 0.0131  896.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002216.8850140.0002
Check MTime0.00118.1923140.0001
Mysql Total
Database connection0.00064.395410.0006
Mysqli_queries0.002216.965030.0007
Looping result0.00000.052810.0000
Template Total0.00107.410.0010
Template load0.00085.821810.0008
Template processing0.00021.548210.0002
Override
Cache load0.00054.060710.0005
General
dbfile0.00129.307680.0002
String conversion0.00000.058240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs