users roles and workflow

Author Message

Massimiliano Collavo

Friday 14 May 2010 6:53:38 am

Hello
I've created a custom user class for organize specific type of users.
I'd like assign the custom user to a group with the appropriate permissions.
I've made a form for create a object with input field similar this:
<input type=hidden value=id name=NodeID>
where the id value is the node id of the user group the new user will be assigned to.
This works in a simple subriscption, but not when i use a workflow to approve registration (multiplex with approve event).
After approve the user has no location.
Maybe i have to create a custom event to locate the object.
Have some suggestions?
Thanks in advance
Maxi

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 04:58:49
Script start
Timing: Jan 18 2025 04:58:49
Module start 'layout'
Timing: Jan 18 2025 04:58:49
Module start 'content'
Timing: Jan 18 2025 04:58:50
Module end 'content'
Timing: Jan 18 2025 04:58:50
Script end

Main resources:

Total runtime0.7606 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.0153 587.9141152.6250
Module start 'layout' 0.01530.0029 740.539139.4453
Module start 'content' 0.01830.7411 779.9844400.8984
Module end 'content' 0.75940.0012 1,180.88288.1641
Script end 0.7606  1,189.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4062160.0002
Check MTime0.00130.1694160.0001
Mysql Total
Database connection0.01061.394510.0106
Mysqli_queries0.716094.1313460.0156
Looping result0.00040.0522440.0000
Template Total0.721294.820.3606
Template load0.00200.262820.0010
Template processing0.719194.547620.3596
Template load and register function0.00030.034010.0003
states
state_id_array0.00080.110410.0008
state_identifier_array0.00070.097920.0004
Override
Cache load0.00160.2115150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.081710.0006
Fetch class attribute name0.00060.073410.0006
XML
Image XML parsing0.00010.010710.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00130.1663100.0001
String conversion0.00000.000840.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs