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

Issue 891713003: Allow authenticated POST to get current status. (Closed)

Created:
5 years, 10 months ago by tandrii(chromium)
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Allow authenticated POST to get current status. Currently, status app doesn't allow authentication by bot for accessing /current . Private status apps don't give read access anonymously, and so gatekeeper-ng was not able to check current tree status. This patch fixes that. BUG=453319 TEST=by deploying test version to AE and poking it, because unittests don't work at all. Committed: https://chromium.googlesource.com/infra/infra/+/a0bcaf5ab4393261051f3f7fb6d51414d55ea361

Patch Set 1 #

Total comments: 3

Patch Set 2 : Simplify. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M appengine/chromium_status/appengine_module/chromium_status/status.py View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
tandrii(chromium)
PTAL with companion CL for gatekeeper-ng https://codereview.chromium.org/891713003/
5 years, 10 months ago (2015-02-02 15:54:58 UTC) #1
tandrii(chromium)
sorry, the right url for gatekeeper CL is https://codereview.chromium.org/895633002/
5 years, 10 months ago (2015-02-02 15:55:47 UTC) #2
tandrii(chromium)
PTAL I almost forgot about this CL :(
5 years, 10 months ago (2015-02-09 18:29:51 UTC) #4
ghost stip (do not use)
https://chromiumcodereview.appspot.com/891713003/diff/1/appengine/chromium_status/appengine_module/chromium_status/status.py File appengine/chromium_status/appengine_module/chromium_status/status.py (right): https://chromiumcodereview.appspot.com/891713003/diff/1/appengine/chromium_status/appengine_module/chromium_status/status.py#newcode318 appengine/chromium_status/appengine_module/chromium_status/status.py:318: def post(self): wait, so you're overloading post() to mean ...
5 years, 10 months ago (2015-02-09 23:32:45 UTC) #5
tandrii(chromium)
You are right. And after a fresh look, I see that no change is required ...
5 years, 10 months ago (2015-02-10 14:18:34 UTC) #6
tandrii(chromium)
And I am wrong yet again for closing this issue. A new Patch Set is ...
5 years, 10 months ago (2015-02-10 18:27:51 UTC) #7
tandrii(chromium)
PTAL again. The new patchset is simpler, but still needs POST method as explained below. ...
5 years, 10 months ago (2015-02-10 18:45:45 UTC) #8
ghost stip (do not use)
I see. You're using POST so we can put the password in the body instead ...
5 years, 10 months ago (2015-02-11 03:35:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/891713003/20001
5 years, 10 months ago (2015-02-13 22:38:43 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 22:41:32 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/infra/infra/+/a0bcaf5ab4393261051f3f7fb6d51...

Powered by Google App Engine
This is Rietveld 408576698