anonymous users can enter tickets as a logged in user
|Reported by:||Jonas Borgström||Owned by:||Jonas Borgström|
As shown with this ticket (I am not "jonas") a ticket can be entered by an anonymous user as though it were an actual logged in user.
What I feel should happen is this:
- If the username is an email address or "anonymous" let it slide (although I'd have this be overridable in the config since sometimes usernames are emailaddresses, although at that point, why allow anonymous users to enter tickets at all? maybe just letting it slide is the best idea)
- If the username is not an email address the user should be asked to sign in before continuing.
- A check against the session table could also be done to see if the username has logged in before and prompt password at that point.
- If using basic auth (or other non-form based auth like NTLM in windows or AUTH_PAM in linux) the username logged in with should be validated against the on entered in the form, or just flat replaced with the logged in username.