modify require_privilege to also check the user’s privileges and raise Http404 when no matches can be found
character length errors for arbitrary user
fix test_decorators test
new decorator which raises Http404 when PermissionDenied is raised by the requires_privilege decorator
update tests to reflect the change back from Http404 to PermissionDenied
Merge pull request #3 from dimagi/update-decorator

modify require_privilege to also check the user’s privileges