Page MenuHomePhabricator

[reports] Require auth for viewing reports
ClosedPublic

Authored by bartek on Thu, Jun 13, 1:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 9:54 AM
Unknown Object (File)
Sat, Jun 29, 3:54 PM
Unknown Object (File)
Thu, Jun 27, 9:04 PM
Unknown Object (File)
Wed, Jun 26, 5:58 PM
Unknown Object (File)
Wed, Jun 26, 3:22 PM
Unknown Object (File)
Wed, Jun 26, 10:11 AM
Unknown Object (File)
Mon, Jun 24, 7:12 PM
Unknown Object (File)
Mon, Jun 24, 4:07 PM
Subscribers

Details

Summary

Wrapped viewing reports endpoints with auth middleware.
The POST /reports still works without auth - it is optional there and used only for retrieving user_id.

Depends on D12415

Test Plan
  • Repeated test plan from D12414 for /reports endpoints.
  • Verified that sending reports still works without auth.
  • Verified that user_id is present when sending reports with valid credentials.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Thu, Jun 13, 2:12 AM

Heads-up, there are no reviewers specified here

This revision is now accepted and ready to land.Mon, Jun 17, 9:01 PM
This revision was automatically updated to reflect the committed changes.