peterbe/socorro — pull request #9 by AdrianGaudebert (2013-12-10 09:18:03+00:00)
Title: take user privileges into account when verifying date range.

@peterbe This makes it even simpler in terms of code, and acknowledges the user's privileges.

I think we also need to create a special permission to run those long queries, instead of looking if the user is a superuser. I know that for example Wayne regularly runs long queries and is not a superuser. Do you mind doing that?