[rt-users] Conditionally add new unprivileged users

Ruslan Zakirov ruz at bestpractical.com
Fri Jun 21 08:25:04 EDT 2013


Hi,

Sadly there are no scrips for other objects except tickets. What you want
is not hard to do by wrapping Create method in RT::User class. Basicly you
let RT do creation and when it successfuly returns to the caller, you can
do required lookups and put user into a group.


On Fri, Jun 21, 2013 at 8:20 AM, Al Twohill <moebiusproject at gmail.com>wrote:

> Hello all,
>
> I'm currently learning rt - this thing is amazing and I wish I knew
> about it earlier!
>
> I'd like to be able to extend the user creation via email process, but
> I'm not sure where to start.
>
> Specifically, when someone emails rt at example.com and they don't yet
> have a user account, I'd like to search through all my groups to see
> if their domain name exists in a custom field.
>
> If the group is found, then I'd like them to be added to that group,
> and the ticket created.
>
> If no group is found, I'd like rt to send them a message telling them
> to contact an admin, and the user account would not be created.
>
> I'm not asking how to code this functionality (I'll try and figure
> that out myself), but I've no idea how I can hook into the account
> creation process.
>
> If anyone could give any pointers for me to get started that'd be
> wonderful.
>
> I'm running rt 4.0.4 on Ubuntu 12.04.
>
> Thanks,
>
> Al
>



-- 
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130621/899338b0/attachment.htm>


More information about the rt-users mailing list