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

Issue 2241853002: Milo: ACL support (Closed)

Created:
4 years, 4 months ago by Ryan Tseng
Modified:
4 years, 4 months ago
Reviewers:
Vadim Sh., nodir
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, andrew.wang, todd, tandrii+luci-go_chromium.org, M-A Ruel
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-go@lucicfg
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Milo: ACL support This just includes a IsAllowed() helper function, that gets called by each module (buildbot, buildbucket, etc) BUG=637375 Committed: https://github.com/luci/luci-go/commit/c6255395674c45b38e0cebd6c391169125745a89

Patch Set 1 #

Patch Set 2 : Remove debugging #

Total comments: 6

Patch Set 3 : Removed write, other review #

Patch Set 4 : Simplified #

Total comments: 2

Patch Set 5 : Use authtest #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -1 line) Patch
A milo/appengine/settings/acl.go View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A milo/appengine/settings/acl_test.go View 1 2 3 4 1 chunk +100 lines, -0 lines 0 comments Download
M milo/common/miloerror/error.go View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 35 (24 generated)
Ryan Tseng
Remove debugging
4 years, 4 months ago (2016-08-12 18:56:49 UTC) #3
Ryan Tseng
ptal, this will be used later to add acls to build views, console views, etc
4 years, 4 months ago (2016-08-12 18:59:51 UTC) #7
Vadim Sh.
https://codereview.chromium.org/2241853002/diff/20001/milo/appengine/settings/acl.go File milo/appengine/settings/acl.go (right): https://codereview.chromium.org/2241853002/diff/20001/milo/appengine/settings/acl.go#newcode19 milo/appengine/settings/acl.go:19: func IsAllowed(c context.Context, project string, write bool) bool { ...
4 years, 4 months ago (2016-08-15 22:04:52 UTC) #11
Ryan Tseng
Simplified
4 years, 4 months ago (2016-08-16 00:03:19 UTC) #14
Ryan Tseng
Removed write ACLs, using chrome-infra-auth for public read acls, it's a lot shorter now https://codereview.chromium.org/2241853002/diff/20001/milo/appengine/settings/acl.go ...
4 years, 4 months ago (2016-08-16 00:03:56 UTC) #17
Vadim Sh.
https://codereview.chromium.org/2241853002/diff/60001/milo/appengine/settings/acl_test.go File milo/appengine/settings/acl_test.go (right): https://codereview.chromium.org/2241853002/diff/60001/milo/appengine/settings/acl_test.go#newcode77 milo/appengine/settings/acl_test.go:77: type testingAuthDB struct{} you can probably avoid most of ...
4 years, 4 months ago (2016-08-16 00:21:22 UTC) #20
Ryan Tseng
https://codereview.chromium.org/2241853002/diff/60001/milo/appengine/settings/acl_test.go File milo/appengine/settings/acl_test.go (right): https://codereview.chromium.org/2241853002/diff/60001/milo/appengine/settings/acl_test.go#newcode77 milo/appengine/settings/acl_test.go:77: type testingAuthDB struct{} On 2016/08/16 00:21:22, Vadim Sh. wrote: ...
4 years, 4 months ago (2016-08-16 00:38:07 UTC) #23
Vadim Sh.
lgtm
4 years, 4 months ago (2016-08-16 00:40:38 UTC) #24
Ryan Tseng
rebase
4 years, 4 months ago (2016-08-19 00:03:09 UTC) #27
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/2241853002/90001
4 years, 4 months ago (2016-08-19 00:03:32 UTC) #33
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 00:14:00 UTC) #35
Message was sent while issue was closed.
Committed patchset #6 (id:90001) as
https://github.com/luci/luci-go/commit/c6255395674c45b38e0cebd6c391169125745a89

Powered by Google App Engine
This is Rietveld 408576698