Changing users group in module

Author Message

Jerry Jalava

Thursday 18 March 2004 4:36:37 am

Hi,

Could someone tell me what would be the best solution to change the users group to other inside own module?
I have few thoughts how this could be done, but would like to get some other opinions also. So if you have any ideas or have already done it yourself, please post here some info about the process. :)

I think the easiest way to explain what I need is that, I want to change "ez objects" (user) "parent_node" (user group) to something else inside my own module without the user itself interacting with the process.

Regards,
Jerry

Bruce Morrison

Thursday 18 March 2004 4:33:54 pm

Hi Jerry

IS this something that you want to do just in your module or is something you want to be a permanent change (i.e. actually effecting the objects in the database)?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Jerry Jalava

Friday 19 March 2004 2:23:21 am

Hi Bruce,

Yes, this is something I want to do in my module. And I want the change to be permanent also.

So I just need to change users groupid after he/she has done something in my module. Right now, the only thing I'm missing is the one function that would do this change...

Regards,
Jerry

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