change in work flow

Author Message

atoz

Monday 19 October 2009 9:48:33 pm

Actually in my site all the users can view the contents even without logging in.
How could i restrict the users. So that they can see the contents only after logging in...
is there any modification in work flow required...
if needed plz help..
thanks in advance........

Gaetano Giunta

Tuesday 20 October 2009 1:10:16 am

It is not the workflow that you need to change, but the roles and permissions.

In particular, the content/read permission must have been assigned in your site to the anonymous user with no limitation.

Read more about roles and permissions here: http://ez.no/doc/ez_publish/technical_manual/4_x/concepts_and_basics/access_control

Principal Consultant International Business
Member of the Community Project Board

atoz

Tuesday 20 October 2009 3:26:16 am

thnx dude....
but i got another one ...
when i deleted the content/read permit of anonymous user
the following message is showing when i open the site.............
Access denied

You do not have permission to access this area.

Possible reasons for this are:

* You are currently not logged in to the site, to get proper access create a new user or log in with an existing user.
* You misspelled some parts of your URL, try changing it.

what to do?
What i men is how to restrict the anonymous users to login page only

plz help.........

Gaetano Giunta

Tuesday 20 October 2009 7:51:34 am

You should leave to anon user the permission to
- user/login with limitation on public siteaccess only
- 'content/read' with a limitation on either the node id (2) or the content class of your frontpage

and, plzzz, take the time to read the docs on the permissions system

Principal Consultant International Business
Member of the Community Project Board

atoz

Tuesday 20 October 2009 8:49:39 pm

ok thanx buddy.......

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

Main resources:

Total runtime0.9225 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 587.9063152.6250
Module start 'layout' 0.00450.0038 740.531339.4297
Module start 'content' 0.00830.9128 779.9609558.0156
Module end 'content' 0.92110.0013 1,337.976612.1875
Script end 0.9225  1,350.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4069160.0002
Check MTime0.00160.1705160.0001
Mysql Total
Database connection0.00080.087510.0008
Mysqli_queries0.863093.5543630.0137
Looping result0.00070.0721610.0000
Template Total0.883895.820.4419
Template load0.00330.356720.0016
Template processing0.880495.442220.4402
Template load and register function0.00050.050710.0005
states
state_id_array0.00130.138510.0013
state_identifier_array0.00120.128320.0006
Override
Cache load0.00290.3198340.0001
Sytem overhead
Fetch class attribute can translate value0.00100.113220.0005
Fetch class attribute name0.00200.222160.0003
XML
Image XML parsing0.00070.074020.0003
class_abstraction
Instantiating content class attribute0.00000.002370.0000
General
dbfile0.00090.0977160.0001
String conversion0.00000.000740.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs