different user classes? problem!

Author Message

Alessandro Cipriani

Wednesday 31 March 2004 1:28:00 am

hi all
this is my question:
in my site i need to have a diversification about the site users
the "front-office" users will have some parameters like
- first name*
- last name*
- user id*
- password*
- email*

while the "back-office" users will have others like:
- first name*
- last name*
- user id*
- password*
- email*
- domain*
- customer number*
- phone

(* = requested)

i think it's impossible to have these results only by using different templates (the customer number is requested is requested only for the back-office users: will it be requested also for the other users?). so i tried to create another class called backoffice_user in the users section. i create a new backoffice user, assigned the guest role to it. but when i try to login as the new backoffice user an access denied page appears, and i'm not able to log in.

how to solve this problem?

best regards
alessandro

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 16:06:40
Script start
Timing: Jan 18 2025 16:06:40
Module start 'layout'
Timing: Jan 18 2025 16:06:40
Module start 'content'
Timing: Jan 18 2025 16:06:41
Module end 'content'
Timing: Jan 18 2025 16:06:41
Script end

Main resources:

Total runtime0.7871 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.0067 589.0469152.6250
Module start 'layout' 0.00670.0038 741.671939.4609
Module start 'content' 0.01050.7746 781.1328442.4375
Module end 'content' 0.78520.0019 1,223.57038.1563
Script end 0.7871  1,231.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.5821160.0003
Check MTime0.00190.2380160.0001
Mysql Total
Database connection0.00150.191310.0015
Mysqli_queries0.737693.7099460.0160
Looping result0.00070.0903440.0000
Template Total0.736693.620.3683
Template load0.00360.456620.0018
Template processing0.733093.120720.3665
Template load and register function0.00010.016310.0001
states
state_id_array0.00160.201610.0016
state_identifier_array0.00170.213320.0008
Override
Cache load0.00310.3997270.0001
Sytem overhead
Fetch class attribute can translate value0.00170.210010.0017
Fetch class attribute name0.00070.089120.0004
XML
Image XML parsing0.00060.074410.0006
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00110.1354160.0001
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs