[rt-users] Creating own custom field

Andy Harrison aharrison at gmail.com
Wed Apr 28 10:32:09 EDT 2010


On Wed, Apr 28, 2010 at 7:57 AM, Richard Pijnenburg <Richard at widexs.nl> wrote:
> Dear list,
>
>
>
> Currently I’m building my own custom field with external data.
>
> I’ve created a simple test and that works perfectly.
>
>
>
> This custom field is connected to tickets.
>
> Now I would like to know if an user that currently is watching that ticket
> is a privileged user or not.
>
> This because the user can be a RT system user ( a support employ ) or a
> customer watching the ticket via the SelfService page.
>
> In case it’s a privileged user I want to get the user details from the first
> requestor.
>
> If it’s not a privileged user I want to use the current user details.
>
>
>
> Does anyone know how I can put in the source code?
>


Can you provide more detail?

It sounds like it would be simpler to just create two different custom
fields.  Then set the permissions so that Privileged users can see one
but not the other and vice versa for Unprivileged.

-- 
Andy Harrison
public key: 0x67518262



More information about the rt-users mailing list