Wikia

Request Tracker Wiki

Watchlist Recent changes

CustomFieldRightsWithoutSeeQueue

This is useful if you have a custom ticket creation form which includes CustomFields and you want people who have CreateTicket rights without SeeQueue rights to be able to create tickets.

In your form, add this:


<%INIT>
my $QueueObj = new RT::Queue( $RT::SystemUser );
$QueueObj->Load($Queue) || Abort(loc("Queue could not be loaded."));
...
</%INIT>

% if (  $session{ 'CurrentUser' }->HasRight( Right => 'CreateTicket', Object => $QueueObj ) ) {
%     ...
% }

Credit to RuslanZakirov for this solution.

Pages on Request Tracker Wiki

Add a Page
857pages on
this wiki

Latest Photos

Add a Photo
28photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki