Login in Front Office

Author Message

Aurélie Beaumont

Monday 30 March 2009 5:14:25 am

Hi,

do you know how to forbid access to login page in front office?

Thanks for your answers

justin kazadi

Monday 30 March 2009 5:36:15 am

Hi,
do you talk about limitate access of your web site to the registers user.if so , then
edit your siteaccess/site_access_name/site.ini.append

add these line:

[SiteAccessSettings]
RequireUserLogin=true

i think this can help you.
good luck

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Aurélie Beaumont

Monday 30 March 2009 6:28:00 am

I don't want users who know the url http://mysite/index.php/user/login to access to login page in frontoffice.

There is an option? Or I must override the template of login page?

justin kazadi

Monday 30 March 2009 6:55:04 am

Hi,
can you tell us what users have access to this link?

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Aurélie Beaumont

Monday 30 March 2009 7:45:38 am

All users can access to this link

André R.

Monday 30 March 2009 7:54:21 am

you can disable the user/login view using:

site.ini:

[SiteAccessRules]
Rules[]=access;disable
Rules[]=module;user/login

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Aurélie Beaumont

Monday 30 March 2009 8:13:41 am

Thank you! It works.

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 15:58:47
Script start
Timing: Jan 18 2025 15:58:47
Module start 'layout'
Timing: Jan 18 2025 15:58:47
Module start 'content'
Timing: Jan 18 2025 15:58:48
Module end 'content'
Timing: Jan 18 2025 15:58:48
Script end

Main resources:

Total runtime0.8829 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9063152.6250
Module start 'layout' 0.00530.0027 740.531339.4453
Module start 'content' 0.00800.8734 779.9766616.8125
Module end 'content' 0.88140.0014 1,396.789116.1719
Script end 0.8828  1,412.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3345160.0002
Check MTime0.00120.1399160.0001
Mysql Total
Database connection0.00050.059110.0005
Mysqli_queries0.825293.4669710.0116
Looping result0.00060.0706690.0000
Template Total0.856097.020.4280
Template load0.00190.219320.0010
Template processing0.854096.733120.4270
Template load and register function0.00020.026510.0002
states
state_id_array0.00100.118610.0010
state_identifier_array0.00130.149520.0007
Override
Cache load0.00160.1851310.0001
Sytem overhead
Fetch class attribute can translate value0.00060.069530.0002
Fetch class attribute name0.00190.220790.0002
XML
Image XML parsing0.00220.253430.0007
class_abstraction
Instantiating content class attribute0.00000.0025100.0000
General
dbfile0.00200.2248230.0001
String conversion0.00000.000840.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs