[rt-users] Custom Action not performed if root
Daniel Jimenez
djimenez at membersourcecu.org
Thu Mar 9 19:37:45 EST 2006
All,
I'm having trouble with the below...
# get actor ID
my $Actor = $self->TransactionObj->Creator;
# if actor is RT_SystemUser or root then get out of here
return 1 if $Actor == $RT::SystemUser->id;
return 1 if $Actor == root;
return 1;
I've tried == root and == 12 (the User's ID). Am I doing something
wrong?
Thanks,
Daniel Jimenez
MemberSource Credit Union
Information Systems Analyst
713-244-1122 voice
713-572-8940 fax
djimenez at membersourcecu.org <mailto:djimenez at membersourcecu.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060309/11774bef/attachment.htm>
More information about the rt-users
mailing list