UserClassID for user/register & WF : conflict in some cases

Author Message

Xavier Gouley

Friday 29 June 2007 11:06:21 am

Hi,

Changing UserClassID value seems to be the easiest way to change User class to use while registering new user from a site. Unfortunately, this param is also used in the Workflow processes, to assign a WF element to it's owner.

In result, if you want to use User class for BackOffice users, and have another class (User2) to use in the FrontOffice registration, you can't use the UserClassID param, because Workflows won't work properly.

Furthermore, when you want to add a workflow process to the user registration (before publication, with a simple approbation), the new user will be lost in the workflow process...

What solution ?

- make a extension, with a copy of user/register module ? :(
( - I don't want to hear anything about a kernel hack )

I think this UserClassID param should be duplicated (one for Workflows, and the other for registration), but this supposes a hack :( , or a fix by eZsystems :)

Other solutions ?

Thanks !

Xavier G. (Smile)

Smile France - eZpublish developper

Norman Leutner

Friday 21 September 2007 1:17:23 am

Be the way it should be possible to use different user classes within the user/register module.

For example a class for normal users and a class for dealers.
So dealers may register by themselve with /user/register/classid

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

André R.

Friday 21 September 2007 1:23:55 am

Hi Xavier, and welcome to the community!

If you haven't done so yet, could you please make a bug issue on this?
Because it certainly smalls like a bug :)

BTW: You are probably the first, first poster I have met that didn't want to solve everything by hacking the kernel :)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.