You better look at SetStatus in RT/Ticket_Overlay.pm. On Wed, Mar 9, 2011 at 7:07 PM, Raed El-Hames <[email protected]> wrote: > Yan: > > One way of doing this is to put the hack in Elements/SelectStatus > Something like : > if > ($session{'CurrentUser'}{'can_resolve_ticket_or_whatever_you_want_to_call_it'}) > { > @status = $queue->StatusArray(); > } else { > @status = RT->Config->Get('ActiveStatus') ; > } > > The above will hide the non active statuses (resolve/reject/delete) from the > dropdown unless the user can resolve/reject etc. > > But you need to define / work on how you establish > $session{'CurrentUser'}{'can_resolve_ticket_or_whatever_you_want_to_call_it'} > > It all depends on how you distinguish those that can resolve from those that > cannot. > > Roy > >> -----Original Message----- >> From: [email protected] [mailto:rt-users- >> [email protected]] On Behalf Of Yan Seiner >> Sent: 09 March 2011 13:44 >> To: Ruslan Zakirov >> Cc: [email protected] >> Subject: Re: [rt-users] Possible to deny Resolve. Reject permissions? >> >> So... Any hints on the hack? And/or, when will 4.0 be out? >> >> Ruslan Zakirov wrote: >> > Hello, >> > >> > In 3.8 with a hack. In 4.0 with lifecycles configuration. >> > >> > On Wed, Mar 9, 2011 at 7:41 AM, Yan Seiner <[email protected]> wrote: >> > >> >> Is it possible to deny users permission to Resolve or Reject a ticket >> while >> >> giving them modify permissions on the ticket? >> >> >> >> -- >> >> My car is Japanese. My Vodka is Russian. My pizza is Italian. My kebab >> is >> >> Turkish. My democracy is Greek. My wine is French. My coffee is >> Brazilian.. >> >> My language is English. My movies are American. My music is African. My >> >> beers are German. My shirt is Indian. My oil is Saudi Arabian. My >> >> electronics are Taiwanese. My rifle is Czech. My shoes are Chinese. My >> math >> >> is Arabic, my writing Latin. And you complain that your neighbor is >> Mexican? >> >> >> >> >> >> >> > >> > >> > >> > >> >> >> -- >> My car is Japanese. My Vodka is Russian. My pizza is Italian. My kebab is >> Turkish. My democracy is Greek. My wine is French. My coffee is Brazilian. >> My language is English. My movies are American. My music is African. My >> beers are German. My shirt is Indian. My oil is Saudi Arabian. My >> electronics are Taiwanese. My rifle is Czech. My shoes are Chinese. My >> math is Arabic, my writing Latin. And you complain that your neighbor is >> Mexican? > >
-- Best regards, Ruslan.
