[rt-users] Scripts to create a queue,groups and users

Todd Chapman todd at chaka.net
Fri Feb 8 11:00:09 EST 2008


I would suggest reading Learning Perl. You have a lot of unnecessary code.

You should not be using private methods ($Groupy->_Create).

On 2/7/08, Krieg, Alexander <alexander.krieg at desy.de> wrote:
> Hi,
>
> i wrote 2 scripts and it would be nice, if somebody could have a look on
> the code to see bugs or improvements.
> The first one 'createQueue_Groups.pm' creates a queue, 4 groups and sets
> predefined rights for this groups.
> The second script 'addUserToGroup.pm' creates new users which are
> described in a separate file and add them to existing groups.
> Soon we might get a bigger amount of new users on our rt system and
> therefore we need this scripts to create in a quick way the new objects.
> Here the scripts:
> www.desy.de/~alexk/createQueue_Groups.pm and addUserToGroup.pm
>
>
> Best regards
> Alexander
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



More information about the rt-users mailing list