Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Issue 2784983002: Adding public report support. (Closed)

Created:
3 years, 8 months ago by jessimb
Modified:
3 years, 8 months ago
Reviewers:
eakuefner, sullivan
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Adding public report support. For a public report, the user needs to SetSinglePrivilegedRequest in order to access some row data. To ensure that unauthorized users can't see data they shouldn't, I've also added a check that each TestMetaData is viewable. BUG=catapult:#3141 Review-Url: https://codereview.chromium.org/2784983002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/94d1bb9f4ab0a7fbbabe5018ffa0578b054fa89c

Patch Set 1 #

Total comments: 1

Patch Set 2 : removing check #

Total comments: 2

Patch Set 3 : adding a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M dashboard/dashboard/speed_releasing.py View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (6 generated)
jessimb
PTAL. I'm not 100% sure I need the permissions check, but this is what I ...
3 years, 8 months ago (2017-03-29 22:05:30 UTC) #3
eakuefner
You're getting the TestMetadatas in _GetTestToUnitsMap so I feel like the check isn't necessary. However, ...
3 years, 8 months ago (2017-03-30 00:22:14 UTC) #4
sullivan
https://codereview.chromium.org/2784983002/diff/1/dashboard/dashboard/speed_releasing.py File dashboard/dashboard/speed_releasing.py (right): https://codereview.chromium.org/2784983002/diff/1/dashboard/dashboard/speed_releasing.py#newcode245 dashboard/dashboard/speed_releasing.py:245: return True Won't this throw an exception if it ...
3 years, 8 months ago (2017-03-30 13:22:54 UTC) #5
jessimb
On 2017/03/30 at 00:22:14, eakuefner wrote: > You're getting the TestMetadatas in _GetTestToUnitsMap so I ...
3 years, 8 months ago (2017-03-30 15:49:37 UTC) #6
jessimb
PTAL. I removed the check because the internal_only on table_config should block out any internal_only ...
3 years, 8 months ago (2017-03-30 17:10:58 UTC) #7
sullivan
Is there already a test that verifies what is shown to users without access? https://codereview.chromium.org/2784983002/diff/20001/dashboard/dashboard/speed_releasing.py ...
3 years, 8 months ago (2017-03-30 17:46:46 UTC) #8
jessimb
PTAL. Yes, https://github.com/catapult-project/catapult/blob/master/dashboard/dashboard/speed_releasing_test.py#L221 tests what happens when you go to an internal_only report as a ...
3 years, 8 months ago (2017-03-30 17:55:33 UTC) #9
sullivan
lgtm
3 years, 8 months ago (2017-03-30 18:00:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784983002/40001
3 years, 8 months ago (2017-03-30 18:01:24 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 18:23:52 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698