Roles in 3.2 Admin Section

Author Message

SathishKumar Subramanian

Tuesday 28 October 2003 6:20:59 am

In the admin section i see no section about editing roles. In admin section, all the assigned roles are coming to the "roles view". But while editing the roles, the system is not showing the roles. How can i do this?

Pls help! Thanx in advance!

Sathish

Paul Forsyth

Tuesday 28 October 2003 6:29:01 am

See this thread:

http://ez.no/developer/ez_publish_3/forum/install_configuration/what_happened_to_the_roles_in_32

paul

SathishKumar Subramanian

Tuesday 28 October 2003 7:26:04 am

Thanx Paul. But still I am boging down in the same problem.

I have gone through the thread which you have mentioned. The 'Standard section', 'Users' sections are avail in my admin interface, inside the setup->sections.

Also I have checked the link : http://<my-site>/role/list . This list is same as the roles list which is showing currently in my admin interface.

The problem is the system not allowing me to edit/remove the Role policies which i have entered.

How can i acheive this?

Sathish

Paul Forsyth

Tuesday 28 October 2003 7:44:30 am

Ah, i misread your question.

Can you give a more detailed example of what you are doing. For example, which role you are editing, what error is happening, etc. Is there debugging information present?

paul

SathishKumar Subramanian

Wednesday 29 October 2003 6:30:15 am

Hi Paul,

I am trying to make a workflow settings. Instead I have created user groups and users. Similarly to set the roles to the users and user groups I have tried to create policies in the roles.

I can add the role-policies. But the system is not allowing me to edit the added policies in the roles. How can I do this?

Thanx & Regards,
Sathizh

Paul Forsyth

Wednesday 29 October 2003 6:47:00 am

What happens when you click on the edit icon for your new role?

paul

SathishKumar Subramanian

Wednesday 29 October 2003 6:54:09 am

Its coming only with the "user" module's functions and limitations. The remaining policies are not coming.

But I can get all the policies like content read, edit and create etc in the policies view of this corresponding role. But these policies are not coming for modify/remove.

Sathizh

Paul Forsyth

Wednesday 29 October 2003 7:01:04 am

Im afraid i still can't see your problem. You say you can access something like:

http://<your-site>/role/edit/2

and see current policies.

but please take a step-by-step approach and describe the problem.

paul

Claus Jensen

Friday 21 November 2003 4:17:42 am

Hi,
I cannot add certain policies to a role. Some is working i.e. "content | read | *", but if I try to add a new policy with create or edit. The page http://www.xxxxx.no/admin/role/edit/15/ shows:
(Debug on the create policy step 2 page contains)

Warning: PHP
Nov 21 2003 13:04:16

Undefined variable: policyID in /opt/ezpublish/3.2-3/kernel/role/edit.php on line 419

I see the debug, it begins to worry me, but I continue and want to limit it to creating folders, images and forum messages, and mark these in "Class". And when I press 'Ok' for saving this policy I return to the "admin/role/edit/11" ("policylist") and there is no new policy there only the old one "content | read | *".
Debug says:
Warning: eZHTTPTool
Nov 21 2003 13:05:52

Undefined post variable: DeleteNodeButton
Warning: eZHTTPTool
Nov 21 2003 13:05:52

Undefined post variable: DeleteSubtreeButton

So now I may not create permissions that limit access to certain classes or nodes, because it wont store the new policy. Great! Does somebody have a solution for this, or do I have to rewrite ezpublish? ;)

regards,
claÜs

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 31 2025 08:05:22
Script start
Timing: Jan 31 2025 08:05:22
Module start 'layout'
Timing: Jan 31 2025 08:05:22
Module start 'content'
Timing: Jan 31 2025 08:05:23
Module end 'content'
Timing: Jan 31 2025 08:05:23
Script end

Main resources:

Total runtime1.3500 sec
Peak memory usage4,096.0000 KB
Database Queries77

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1328151.2109
Module start 'layout' 0.00560.0024 739.343836.6484
Module start 'content' 0.00791.3412 775.9922996.7578
Module end 'content' 1.34910.0008 1,772.750015.8516
Script end 1.3499  1,788.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2289160.0002
Check MTime0.00130.0945160.0001
Mysql Total
Database connection0.00100.071910.0010
Mysqli_queries1.284695.1586770.0167
Looping result0.00060.0450750.0000
Template Total1.314397.420.6571
Template load0.00230.167220.0011
Template processing1.312097.189120.6560
Template load and register function0.00110.082810.0011
states
state_id_array0.00230.172110.0023
state_identifier_array0.00160.121020.0008
Override
Cache load0.00200.1475580.0000
Sytem overhead
Fetch class attribute can translate value0.00050.034530.0002
Fetch class attribute name0.00190.137490.0002
XML
Image XML parsing0.00030.024130.0001
class_abstraction
Instantiating content class attribute0.00000.001290.0000
General
dbfile0.00290.2120100.0003
String conversion0.00000.000540.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/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: 31
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs