Hide link from anonymous users

Author Message

Jürnjakob Dugge

Thursday 18 October 2007 10:39:20 am

Hello everyone,

I have an object class that is only available to logged in users of my site.
Is it possible to link to such an object with a link that is only visible to those user groups that are also permitted to view the object in question?
I inserted the object in the article, but instead of being invisible to anonymous users, the object appears as "[name_of_object]: You do not have sufficient permissions to view this object" (well, the equivalent in German...). How can I make this error message go away?

Thanks in advance
Jake

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 14:57:26
Script start
Timing: Jan 18 2025 14:57:26
Module start 'layout'
Timing: Jan 18 2025 14:57:26
Module start 'content'
Timing: Jan 18 2025 14:57:27
Module end 'content'
Timing: Jan 18 2025 14:57:27
Script end

Main resources:

Total runtime1.4112 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9141152.6250
Module start 'layout' 0.00490.0028 740.539139.4609
Module start 'content' 0.00771.4021 780.0000401.0938
Module end 'content' 1.40980.0014 1,181.09388.1641
Script end 1.4112  1,189.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2327160.0002
Check MTime0.00130.0887160.0001
Mysql Total
Database connection0.00060.045610.0006
Mysqli_queries1.375397.4598460.0299
Looping result0.00050.0324440.0000
Template Total1.378097.720.6890
Template load0.00210.147120.0010
Template processing1.376097.503220.6880
Template load and register function0.00020.016010.0002
states
state_id_array0.00230.162910.0023
state_identifier_array0.00170.119420.0008
Override
Cache load0.00160.111590.0002
Sytem overhead
Fetch class attribute can translate value0.00050.034410.0005
Fetch class attribute name0.00100.067710.0010
XML
Image XML parsing0.00010.007710.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00080.0553100.0001
String conversion0.00000.000540.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs