Share » Forums » Setup & design » Change user policies / group via an...

Change user policies / group via an automated script + mySQL

Change user policies / group via an automated script + mySQL

Tuesday 03 January 2006 5:36:48 am - 2 replies

Modified on Tuesday 03 January 2006 5:53:50 am by Magnus Olsson

Author Message

Xavier Dutoit

Tuesday 03 January 2006 9:24:04 am

Why don't you use the php classes provided by ez ? Much easier and robust than dig into the sql!

Setting the user right is based on its location of the user node. Have a look at the various code around (eg the one for the content move), but if you change the location of the user to a new usergroup, that should do it.

Let us know...

X+

http://www.sydesy.com

Magnus Olsson

Tuesday 03 January 2006 10:36:37 pm

Because I'm so new at this system (actually just helping a friend with my limited knowledge of PHP / MySQL) I didn't even know about class you mentioned.

Thanks for the tip, I'll go check the classes ASAP :)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu