[rt-users] Users main Display - restricting non-superusers
Weqaar Janjua
weqaar at yahoo.com
Wed Sep 14 16:34:08 EDT 2005
Thanks it works but now the problem is admin
interface, I want admin to see all tickets, in
html/index.html I commented out:
%# <& /Elements/MyTickets &>
now the admin can't even see owned tickets(by default
all tickets created are owned by admin). How would
have something in code like if the current
session-user is admin then display MyTickets, e.g:
if ( $session{CurrentUser}->Name == "admin" ) {
<& /Elements/MyTickets &>
}
Thanks,
Weqaar
--- Atom Powers <apowers at digipen.edu> wrote:
> Weqaar Janjua wrote:
>
> >How would I restrict Users (non-superuser) to view
> >only tickets they requested when they log-in? and
> view
> >nothing else!
> >Thanks.
> >
> >
> I put a page on the wiki last week explaining how I
> did this.
> Look for Automatic Redirect to SelfService.
>
> --
> Perfection is just a word I use occasionally with
> mustard.
> --Atom Powers--
> Systems Administrator
> DigiPen Institute of Technology
> (425) 895-4443
>
>
______________________________________________________
Yahoo! for Good
Donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
More information about the rt-users
mailing list