In the _set_private
method, the creator of a ticket gets read rights to the ticket. But if that is an anonymous user, then the ticket is readable by everyone. To avoid that situation altogether, we could prompt them if they try to mark as private, and notify that they will need to login to make a private ticket.
Also need to handle when anonymous creates a (public) ticket and an admin later needs to set it private. The admin should be able to do that, and the owner (anonymous) shouldn't have any read rights any more.
Closed #630.
je/42cc_7560