[rt-users] permissions of RT_System

Alain Sips asips at nl.clara.net
Mon Jul 3 08:59:27 EDT 2006


Hello,

 

I am trying to set a custom field based on an incoming mail. Part of the
code looks like this:

 

my $CF_Obj = RT::CustomField->new($RT::SystemUser);

my $cf_name = "Skill";

$CF_Obj->LoadByName( Name => $cf_name, Queue => '0',);

my ($retcode, $msg) = $CF_Obj->AddValueForObject( Object  =>
$self->TicketObj,

                          Content => $cf_value, );

$RT::Logger->debug("Return code [$retcode] Msg [$msg]\n");

 

The scrip gets executed, however the custom field won't be set, because the
permission is denied.

The user is RT_System, but I can't seem to find where I can set the
'ModifyCustomField' right for this user.

 

Can someone please help me?


Thanks,

Alain Sips

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060703/e6a62d79/attachment.htm>


More information about the rt-users mailing list