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.