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

Issue 2962703003: config_service: Add authentication to the UI. (Closed)

Created:
3 years, 5 months ago by cwpayton
Modified:
3 years, 5 months ago
Reviewers:
Sergey Berezin, hinoka
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

config_service: Add authentication to the UI. Users can now sign in to view all projects and services. This change involved creating a modified version of the google-signin-aware element that works with Polymer 2.0. This modified file is in a third party folder. Staging version can be found here: https://2941-71c3c10-tainted-cwpayton-dot-luci-config.appspot.com/newui BUG=730832 Review-Url: https://codereview.chromium.org/2962703003 Committed: https://github.com/luci/luci-py/commit/160ef2c6cacca9617e67c94b758ff4303e3fe839

Patch Set 1 #

Patch Set 2 : Reverted to original google-signin-aware.html file so that the modifications can be seen easier. #

Patch Set 3 : Added the modified file. Changes can be seen by clicking on Delta from patch set 2. #

Total comments: 11

Patch Set 4 : Modified google-signin-aware.html and moved to different folder to reflect my changes. #

Patch Set 5 : Moved client_id so that it is served by the back end via templating instead of hard coded into the … #

Total comments: 3

Patch Set 6 : Added TODO to handlers.py and confirmed versions in bower.json #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -867 lines) Patch
M appengine/config_service/app.yaml View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M appengine/config_service/handlers.py View 1 2 3 4 5 3 chunks +16 lines, -0 lines 0 comments Download
M appengine/config_service/ui/README.md View 1 chunk +5 lines, -0 lines 0 comments Download
M appengine/config_service/ui/bower.json View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
A appengine/config_service/ui/common/auth-signin.html View 1 2 3 4 1 chunk +180 lines, -0 lines 0 comments Download
D appengine/config_service/ui/common/third-party/google-signin-aware.html View 1 2 3 1 chunk +0 lines, -824 lines 0 comments Download
A + appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html View 1 2 3 2 chunks +12 lines, -8 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-set.html View 1 2 3 3 chunks +4 lines, -7 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-ui.html View 1 2 3 3 chunks +51 lines, -21 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/front-page.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M appengine/config_service/ui/static/index.html View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (8 generated)
cwpayton
PTAL
3 years, 5 months ago (2017-06-28 00:11:29 UTC) #3
cwpayton
I added a few patches to make viewing my modifications easier. If you want to ...
3 years, 5 months ago (2017-06-28 16:28:39 UTC) #4
Sergey Berezin
Most of the code looks good, however this change is bigger than one CL can ...
3 years, 5 months ago (2017-06-28 19:53:03 UTC) #5
Sergey Berezin
(I also updated the CL title and description)
3 years, 5 months ago (2017-06-28 19:55:16 UTC) #7
cwpayton
PTAL https://codereview.chromium.org/2962703003/diff/40001/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html File appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html (right): https://codereview.chromium.org/2962703003/diff/40001/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html#newcode2 appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html:2: Copyright 2014 Google Inc On 2017/06/28 19:53:02, Sergey ...
3 years, 5 months ago (2017-06-29 22:28:15 UTC) #8
Sergey Berezin
LGTM with a few more comments. Thanks! https://codereview.chromium.org/2962703003/diff/40001/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html File appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html (right): https://codereview.chromium.org/2962703003/diff/40001/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html#newcode244 appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html:244: var that ...
3 years, 5 months ago (2017-06-29 23:52:54 UTC) #10
cwpayton
https://codereview.chromium.org/2962703003/diff/40001/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html File appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html (right): https://codereview.chromium.org/2962703003/diff/40001/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html#newcode244 appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html:244: var that = this; On 2017/06/29 23:52:53, Sergey Berezin ...
3 years, 5 months ago (2017-06-30 00:12:48 UTC) #11
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/2962703003/100001
3 years, 5 months ago (2017-06-30 00:13:08 UTC) #14
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 00:15:43 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://github.com/luci/luci-py/commit/160ef2c6cacca9617e67c94b758ff4303e3fe839

Powered by Google App Engine
This is Rietveld 408576698