Hiding Node for everyone but a certain user group

Author Message

Krischan Hauschkez

Thursday 12 October 2006 2:41:40 am

Hi!

I try to integrate a forum and some folders that shall be visible only after login and only for certain users. Can you please tell me how I can manage that?

I tried to hide the node. That worked, but I don't know how to make it visible again for editors, for example.

Thanks,
Krischan

Claudia Kosny

Thursday 12 October 2006 4:59:27 am

Hi Krischan

I don't know whether it is possible to show hidden nodes using permissions. You can specify during a fetch that the visibility should be ignored so maybe you can adjust the fetch function depending on who is logged in.
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list
You could also set up an extra siteaccess for the editors where
ShowHiddenNodes is setto true in the site.ini.

A better way (I think) is to create a section which contains the forum and the folders. Then allow access to this section only for the editors.
http://ez.no/doc/ez_publish/user_manual/3_8/daily_tasks/creating_a_protected_area

Greetings from Luxembourg

Claudia

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 18 2025 22:31:27
Script start
Timing: Jan 18 2025 22:31:27
Module start 'layout'
Timing: Jan 18 2025 22:31:27
Module start 'content'
Timing: Jan 18 2025 22:31:28
Module end 'content'
Timing: Jan 18 2025 22:31:28
Script end

Main resources:

Total runtime0.9134 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.0703152.6406
Module start 'layout' 0.00670.0030 740.710939.4766
Module start 'content' 0.00970.9024 780.1875460.7813
Module end 'content' 0.91210.0012 1,240.96888.1250
Script end 0.9134  1,249.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4399160.0003
Check MTime0.00200.2176160.0001
Mysql Total
Database connection0.00120.128110.0012
Mysqli_queries0.862094.3686540.0160
Looping result0.00050.0584520.0000
Template Total0.877396.020.4386
Template load0.00450.490920.0022
Template processing0.872895.551720.4364
Template load and register function0.00090.100410.0009
states
state_id_array0.00150.162010.0015
state_identifier_array0.00110.124520.0006
Override
Cache load0.00380.4125180.0002
Sytem overhead
Fetch class attribute can translate value0.00070.079520.0004
Fetch class attribute name0.00110.118920.0005
XML
Image XML parsing0.00050.051420.0002
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00050.0584100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs