On Tuesday, May 9, 2017 at 8:12:29 AM UTC-7, toto200891 wrote: > > Hi, > > how could i give user a permission to view tickets assigned to him? Is it > possible? > > Regards, > > SF >
You can modify SupportDeskPolicy like so: - return ticket['reporter'] == username + return username in (ticket['reporter'], ticket['owner']) That change will allow a user with TICKET_VIEW_REPORTER to only view ticket's for which they are the reporter or owner. - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
