[Rt-devel] [BUG] Reminders assume you have CreateTicket right

Todd Chapman todd at chaka.net
Thu Sep 21 09:33:16 EDT 2006


Reminders::Add assumes you have CreateTicket for the queue of
the ticket the reminder is being attched to. The method does
not check the return of Ticket::Create and ends up generating
a bad transaction (which causes further problems to be discussed
later).

How should this be resolved?

* Checking the return from Create obviously

but also,

* Have a queue where anyone can create reminders?

* Allow the selecting of a queue the user has CreateTicket
  rights on?

* Don't show the reminders form if the user doesn't have
  CreateTicket on the queue?


Please advise.

-Todd


More information about the Rt-devel mailing list