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

Side by Side Diff: appengine/config_service/proto/project_config.proto

Issue 1224913002: luci-config: fine-grained acls (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: fine-grained acls for service configs Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Swarming Authors. All rights reserved. 1 // Copyright 2014 The Swarming Authors. All rights reserved.
2 // Use of this source code is governed by the Apache v2.0 license that can be 2 // Use of this source code is governed by the Apache v2.0 license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Schemas for some of config files in projects/<project_id> config sets. 5 // Schemas for some of config files in projects/<project_id> config sets.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 package config_service; 9 package config_service;
10 10
11 // Schema for project.cfg 11 // Schema for project.cfg
12 message ProjectCfg { 12 message ProjectCfg {
13 // Full name of the project. 13 // Full name of the project.
14 optional string name = 1; 14 optional string name = 1;
15 // Name of a group defined at auth service that has read-only access to the
16 // project. If not specified, only admins and trusted services have access.
17 // Talk to admins to determine the group name appropriate for your project.
18 optional string access = 2;
15 } 19 }
16 20
17 // Schema of refs.cfg. 21 // Schema of refs.cfg.
18 message RefsCfg { 22 message RefsCfg {
19 message Ref { 23 message Ref {
20 // Name of the ref. Must start with "refs/". 24 // Name of the ref. Must start with "refs/".
21 optional string name = 1; 25 optional string name = 1;
22 26
23 // Path to config directory for the ref. Defaults to "infra/config". 27 // Path to config directory for the ref. Defaults to "infra/config".
24 optional string config_path = 3; 28 optional string config_path = 3;
25 } 29 }
26 // List of refs that have configuration files and need to be fetched into 30 // List of refs that have configuration files and need to be fetched into
27 // luci-config. Refs are accessible through get_refs() API endpoint. 31 // luci-config. Refs are accessible through get_refs() API endpoint.
28 // A CI service can read all refs of all projects and build them. 32 // A CI service can read all refs of all projects and build them.
29 repeated Ref refs = 1; 33 repeated Ref refs = 1;
30 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698