Creating own custom field

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?

Thanks in advance.

Met vriendelijke groet / With kind regards,

Richard Pijnenburg

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