[rt-users] Allow only a specific user to see a Callback

holland holland lahollande at gmail.com
Mon Mar 23 17:24:26 EDT 2009


Dear all,

I would like only a specific user, e.g 'John' to see a callback.

Currently I only see methods based on user rights, like:

<%INIT>
if ($session{'CurrentUser'}->UserObj->HasRight(
    Right => 'AdminUsers',
    Object => $RT::System,
)) {
    $toptabs->{'My Callback'} = { title =>loc("My Callback"),
                          path  => "MyCallbacks/1/index.html" };
}
</%init>
<%args>
$toptabs =>undef
</%args>


I want only 'John' to see this callback, not everybody that has
'AdminUsers' right.


Your help is much appreciated!

Cheers,
merou



More information about the rt-users mailing list