Am 2. Mai 2017 14:06:31 MESZ schrieb toto200891 <[email protected]>: >Hello, > >I have a question related to custom policies. I am trying to define a >permission that allows a user to view the tickets only reported by him. >I >followed the steps in >https://trac.edgewall.org/wiki/CookBook/PermissionPolicies#SupportDeskPolicy > >and created a egg file using setuptools and copied the egg file in >plugin >directory > >and also granted the permission TICKET_VIEW_REPORTED > >But I still see that the user can see the tickets created by other >users >and also modify it, though the permission like TICKET_VIEW is been >revoked >from that user.
Are you sure, the user in question owns no other TICKET_* permission, that inherits TICKET_VIEW? Even if you checked this yourself, I would rather double-check that before looking at your custom permission policy implementation. Greetings, Steffen Hoffmann -- 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.
