Limiting users/user groups in create-selectbox under 'Users'

Author Message

Vivienne van Velzen

Sunday 04 May 2003 12:04:50 pm

OK, I'll try this one again, as I haven't found a solution yet :(

I've created a class 'mycompany' that is treated as a user group and a class 'myemployee' that is treated as a user (modified a bit in the admin-templates). Both classes are defined under the 'Users' class.

I then created a folder of class 'mycompany' under the 'Users' tab. In a roundabout way I assigned a section to this folder and created a role that allows the creating of 'myemployee' class users in this section. I then assigned this role to one of my users.

When I log in as this user and click on the 'Users' tab, I still see all the User Groups and Users there. Fair enough, I can't edit them, so I don't mind that at this point.
However, no matter what I try, all classes defined under the 'Users' class are visible in the create selectbox.

The good news is that I'm not allowed to create users of other classes or user groups (eventually I get an access denied). But I'd like the options to not be visible in the selectbox at all.
Anyone out there know how I could go about this?
TIA,

Vivienne

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

Main resources:

Total runtime1.6291 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.0056 589.7734152.6563
Module start 'layout' 0.00560.0050 742.429739.5078
Module start 'content' 0.01051.6173 781.9375402.7500
Module end 'content' 1.62780.0013 1,184.68758.0938
Script end 1.6291  1,192.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2150160.0002
Check MTime0.00140.0852160.0001
Mysql Total
Database connection0.00100.064210.0010
Mysqli_queries1.588597.5068460.0345
Looping result0.00050.0328440.0000
Template Total1.589497.620.7947
Template load0.00220.137920.0011
Template processing1.587297.423320.7936
Template load and register function0.00020.009310.0002
states
state_id_array0.00130.080010.0013
state_identifier_array0.00230.138820.0011
Override
Cache load0.00180.1108120.0002
Sytem overhead
Fetch class attribute can translate value0.00090.052410.0009
Fetch class attribute name0.00100.063310.0010
XML
Image XML parsing0.00010.008510.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00090.0524100.0001
String conversion0.00000.000640.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