Not allowing any anonymous users to see anything

Author Message

Karmela S

Wednesday 05 October 2005 8:58:31 am

Hi,
I am trying to not to allow anonymous users to view any of the materials on the site. Only the users that have accounts could log in and view the materials.
The problem is that whenever I change any roles for the anonymous users, the guest accounts change as well. That means, the policies of anonymous users are connected to guest accounts.
So how can I change only anonymous users' roles without changing guest accounts??
Could someone please help me.
I would really appreciate it :o)
Thanks.

Roy Bøhmer

Wednesday 05 October 2005 12:27:13 pm

I know this not answers your question, but the by far easiest way to achieve what you want is to edit site.ini (or more correctly - the override for the siteaccess)

[SiteAccessSettings]
RequireUserLogin=true

This is the method used for the admin-interface.

Roy

Karmela S

Thursday 06 October 2005 5:05:36 am

Thanks Roy,
I did what you said, but it is not showing anything except the first page content. Not even the images or the layout.
So I changed it back to how it was, but it is still the same, showing the same thing.
Is there something I have to do???
Thanks.

Roy Bøhmer

Thursday 06 October 2005 6:00:02 am

I'm sorry, Karmela, but I don't think I can figure out the problem. But if not even the pagelayout is showing the problem might be somewhere else than user-rights?

Roy

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 19 2025 04:38:12
Script start
Timing: Jan 19 2025 04:38:12
Module start 'layout'
Timing: Jan 19 2025 04:38:13
Module start 'content'
Timing: Jan 19 2025 04:38:13
Module end 'content'
Timing: Jan 19 2025 04:38:13
Script end

Main resources:

Total runtime0.6792 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.3047152.6406
Module start 'layout' 0.00560.0027 741.945339.4766
Module start 'content' 0.00830.6693 781.4219477.7344
Module end 'content' 0.67760.0015 1,259.156312.1250
Script end 0.6791  1,271.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5281160.0002
Check MTime0.00130.1972160.0001
Mysql Total
Database connection0.00100.152310.0010
Mysqli_queries0.630292.7892600.0105
Looping result0.00060.0931580.0000
Template Total0.644394.920.3221
Template load0.00210.309520.0011
Template processing0.642194.549720.3211
Template load and register function0.00020.032810.0002
states
state_id_array0.00200.294410.0020
state_identifier_array0.00240.347620.0012
Override
Cache load0.00170.2562240.0001
Sytem overhead
Fetch class attribute can translate value0.00120.179120.0006
Fetch class attribute name0.00160.240040.0004
XML
Image XML parsing0.00030.048620.0002
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00070.1072100.0001
String conversion0.00000.001340.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs