Limiting users to creating other users

Author Message

Vivienne van Velzen

Thursday 01 May 2003 5:12:26 am

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

Main resources:

Total runtime0.7212 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.0060 588.0313152.6406
Module start 'layout' 0.00600.0033 740.671939.4766
Module start 'content' 0.00940.7105 780.1484402.6250
Module end 'content' 0.71980.0013 1,182.77348.1406
Script end 0.7212  1,190.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4884160.0002
Check MTime0.00150.2041160.0001
Mysql Total
Database connection0.00080.106010.0008
Mysqli_queries0.686095.1225460.0149
Looping result0.00040.0603440.0000
Template Total0.690495.720.3452
Template load0.00200.270720.0010
Template processing0.688495.455920.3442
Template load and register function0.00020.026210.0002
states
state_id_array0.00110.151310.0011
state_identifier_array0.00100.144520.0005
Override
Cache load0.00150.2071110.0001
Sytem overhead
Fetch class attribute can translate value0.00050.076010.0005
Fetch class attribute name0.00050.067610.0005
XML
Image XML parsing0.00010.012810.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00060.0878100.0001
String conversion0.00000.001940.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