Forums / Setup & design / Roles in 3.2 Admin Section

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

eZ debug

Timing: Jan 19 2025 04:42:43
Script start
Timing: Jan 19 2025 04:42:43
Module start 'content'
Timing: Jan 19 2025 04:42:44
Module end 'content'
Timing: Jan 19 2025 04:42:44
Script end

Main resources:

Total runtime1.0777 sec
Peak memory usage4,096.0000 KB
Database Queries214

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 590.3984180.8359
Module start 'content' 0.00750.9395 771.2344578.6016
Module end 'content' 0.94700.1306 1,349.8359341.1641
Script end 1.0776  1,691.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.4062210.0002
Check MTime0.00160.1462210.0001
Mysql Total
Database connection0.00120.110810.0012
Mysqli_queries0.977690.71272140.0046
Looping result0.00220.20702120.0000
Template Total1.026695.320.5133
Template load0.00190.180420.0010
Template processing1.024795.082120.5123
Template load and register function0.00020.018010.0002
states
state_id_array0.00120.109310.0012
state_identifier_array0.00140.125720.0007
Override
Cache load0.00180.1642580.0000
Sytem overhead
Fetch class attribute can translate value0.00130.124440.0003
Fetch class attribute name0.00160.148890.0002
XML
Image XML parsing0.00100.088640.0002
class_abstraction
Instantiating content class attribute0.00000.001890.0000
General
dbfile0.00220.1999210.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs