|
luci-config: fine-grained acls
Each project/service can declare who can read its configs and see
it in service/project/ref listings. A project can do that by putting
projects/<project_id>:project.cfg file with "access" field set to a
group name defined at auth service. If not specified, only admins have
access. Same for services, except it is in services.cfg
project_access_group in acl.cfg remains the same, but service_access_group is removed.
Removed check of X-Appengine-Inbound-Appid check because it does not work.
R=sergiyb@chromium.org, vadimsh@chromium.org
BUG=#228
Committed: https://github.com/luci/luci-py/commit/28b2abd1e68e72f5ec4d1c6815263daa0aa57790
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1257 lines, -352 lines) |
Patch |
 |
M |
appengine/components/components/config/common.py
|
View
|
1
2
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
appengine/components/components/config/endpoint.py
|
View
|
1
2
|
4 chunks |
+97 lines, -7 lines |
0 comments
|
Download
|
 |
A |
appengine/components/components/config/endpoint_test.py
|
View
|
1
2
|
1 chunk |
+76 lines, -0 lines |
0 comments
|
Download
|
 |
M |
appengine/components/components/config/remote.py
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
appengine/components/components/config/remote_test.py
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
appengine/components/components/config/validation.py
|
View
|
1
2
|
6 chunks |
+71 lines, -11 lines |
0 comments
|
Download
|
 |
M |
appengine/components/components/config/validation_test.py
|
View
|
1
2
|
3 chunks |
+31 lines, -2 lines |
0 comments
|
Download
|
 |
M |
appengine/components/components/net.py
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/README.md
|
View
|
1
2
|
3 chunks |
+44 lines, -13 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/acl.py
|
View
|
1
2
3
4
|
4 chunks |
+35 lines, -25 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/acl_test.py
|
View
|
1
2
3
4
|
3 chunks |
+42 lines, -20 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/api.py
|
View
|
|
4 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/api_test.py
|
View
|
1
2
3
|
11 chunks |
+30 lines, -31 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/common.py
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
appengine/config_service/cron.yaml
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
appengine/config_service/gitiles_import.py
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/proto/project_config.proto
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/proto/project_config_pb2.py
|
View
|
1
2
3
4
|
5 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/proto/service_config.proto
|
View
|
1
2
3
4
|
2 chunks |
+68 lines, -22 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/proto/service_config_pb2.py
|
View
|
1
2
3
4
|
15 chunks |
+192 lines, -55 lines |
0 comments
|
Download
|
 |
A |
appengine/config_service/services.py
|
View
|
1
2
3
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
appengine/config_service/services_test.py
|
View
|
1
2
|
1 chunk |
+115 lines, -0 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/storage_test.py
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/validation.py
|
View
|
1
2
3
4
|
9 chunks |
+166 lines, -66 lines |
0 comments
|
Download
|
 |
M |
appengine/config_service/validation_test.py
|
View
|
1
2
3
4
|
7 chunks |
+154 lines, -77 lines |
0 comments
|
Download
|
Total messages: 18 (6 generated)
|