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 2576993002: server/config: Service-side project access checks. (Closed)

Created:
4 years ago by dnj
Modified:
3 years, 11 months ago
Reviewers:
Vadim Sh., iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

server/config: Service-side project access checks. Add the ability for services to mirror the project access checks that the "luci-config" service performs. This targets caching and testing support, enabling non-service authorities to use cached service entries by pruning the results in the service. BUG=chromium:674378 TEST=unit Review-Url: https://codereview.chromium.org/2576993002 Committed: https://github.com/luci/luci-go/commit/99375447064d421783741c2e11ef4bf736839c9d

Patch Set 1 #

Total comments: 7

Patch Set 2 : Comments, specifically "all" group. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -0 lines) Patch
A luci_config/server/cfgclient/access/access.go View 1 1 chunk +96 lines, -0 lines 0 comments Download
A luci_config/server/cfgclient/access/access_test.go View 1 1 chunk +148 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
dnj
PTAL. Full stack is: https://codereview.chromium.org/2580713002 (base) https://codereview.chromium.org/2578893002 (textproto) https://codereview.chromium.org/2576993002 <-- this https://codereview.chromium.org/2576343002 (erroring) https://codereview.chromium.org/2582433002 (test) ...
4 years ago (2016-12-15 05:10:41 UTC) #2
iannucci
looks ok, but vadim should comment on the comments https://codereview.chromium.org/2576993002/diff/1/server/config/access/access.go File server/config/access/access.go (right): https://codereview.chromium.org/2576993002/diff/1/server/config/access/access.go#newcode5 server/config/access/access.go:5: ...
3 years, 11 months ago (2017-01-07 20:29:23 UTC) #4
Vadim Sh.
https://codereview.chromium.org/2576993002/diff/1/server/config/access/access.go File server/config/access/access.go (right): https://codereview.chromium.org/2576993002/diff/1/server/config/access/access.go#newcode64 server/config/access/access.go:64: // If "group" is "all", then short-circuit to permitted. ...
3 years, 11 months ago (2017-01-07 21:04:23 UTC) #5
dnj
Updated, PTAL. https://codereview.chromium.org/2576993002/diff/1/server/config/access/access.go File server/config/access/access.go (right): https://codereview.chromium.org/2576993002/diff/1/server/config/access/access.go#newcode5 server/config/access/access.go:5: // Package access implements a software config.Authority ...
3 years, 11 months ago (2017-01-10 03:27:13 UTC) #6
dnj
(Ping)
3 years, 11 months ago (2017-01-10 23:15:43 UTC) #7
iannucci
lgtm
3 years, 11 months ago (2017-01-11 03:02:53 UTC) #8
iannucci
On 2017/01/11 03:02:53, iannucci wrote: > lgtm Oops I hit the button by accident. Reviewing ...
3 years, 11 months ago (2017-01-11 03:03:48 UTC) #9
iannucci
actually lgtm now
3 years, 11 months ago (2017-01-11 03:06:51 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/2576993002/20001
3 years, 11 months ago (2017-01-11 03:26:37 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 03:32:45 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/99375447064d421783741c2e11ef4bf736839c9d

Powered by Google App Engine
This is Rietveld 408576698