user roles problem

Author Message

Marko Žmak

Thursday 21 October 2004 4:33:55 pm

I want to enable some users of my site to change their user details (name, email...) from the admin interface. I tried giving them permissions for "user->selfedit" but then I get another problem:

- every user can add to himself another location - even the ADMINISTRATORS GROUP and then gain the administrator privileges!!!

How do I solve that? I want my users to be able to change their details but wihtout being able to add them to Administrators group.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Silke Fox

Monday 25 October 2004 12:55:46 am

What about using an override template for editing users from the frontend?
You could then remove the inclusion of "edit_placement.tpl" etc. from it, so that users can only edit their details but not the group.

But I guess this isn't exactly what you want to do?

Marko Žmak

Thursday 28 October 2004 3:08:08 pm

Yep, you're right. That's not what I reaaly want. I would prefer a solloution without messing with templates of the admin site. Is there any other way?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Mark Marsiglio

Tuesday 02 November 2004 6:26:54 am

Can you assign your limited role policies to the user group that these users are in? For instance, you could delete the permissions that give them access to the admin group, and create a new policy which allows more limited access. For instance, they could only read from the users/editors group instead of the entire users subtree. Optionally, you could make this user group a different section, and then limit that group only to see users in the new section.

There are probably several ways to do this using role policies and/or sections.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

Main resources:

Total runtime0.6751 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.8906152.6094
Module start 'layout' 0.00580.0057 740.500039.4141
Module start 'content' 0.01160.6619 779.9141591.8281
Module end 'content' 0.67350.0016 1,371.742212.1875
Script end 0.6751  1,383.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5419160.0002
Check MTime0.00140.2088160.0001
Mysql Total
Database connection0.00090.132410.0009
Mysqli_queries0.611890.6160620.0099
Looping result0.00070.1103600.0000
Template Total0.628893.120.3144
Template load0.00210.311120.0010
Template processing0.626792.820720.3133
Template load and register function0.00010.019010.0001
states
state_id_array0.00170.251810.0017
state_identifier_array0.00160.241320.0008
Override
Cache load0.00180.2635180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.125030.0003
Fetch class attribute name0.00120.172960.0002
XML
Image XML parsing0.00090.140630.0003
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00510.7623230.0002
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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs