#3857 (Lino links to a ticket and then says it doesn't exist)
by Luc Saffre · in Developers · assigned to contrib
Summary
For example after clicking (as anonymous) on ticket #10 in the dashboard it says that this ticket doesn't exist. Also adapt docs/specs/noi/bs3.rst
Children
Comments
- 5 years, 10 months ago by Luc Saffre about #3857 (Lino links to a ticket and then says it doesn't exist) : Okay this is interesting, but not something to touch before I finished with my current ticket. The get_user_query feature is currently used by tickets and comments. Thinking bout having class method get_user_filter() instead of get_user_query(), which returns a filter condition. And then I hope ther...
- 5 years, 10 months ago by Luc Saffre in reply to tonis about #3857 (Lino links to a ticket and then says it doesn't exist) : Yes, it's because Ticket.get_user_queryset() filters them out, making private tickets virtually invisible... but this way of limiting access bypasses the "real" permissions system. IOW when a process has accessed a ticket e.g. like here via a non-private comment, Lino currently has no way to check w...
- 5 years, 10 months ago by Luc Saffre in reply to tonis about #3857 (Lino links to a ticket and then says it doesn't exist) : Yes, I guess that this is the root of the problem. I will investigate a bit, maybe it is a quick win.
- 5 years, 10 months ago by tonis about #3857 (Lino links to a ticket and then says it doesn't exist) (2 replies) : this is a permissons issue. i domt think anon has access to see the ticket.