Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 | 7 |
| 8 // Schema for settings.cfg service config file in luci-config. | 8 // Schema for settings.cfg service config file in luci-config. |
| 9 message SettingsCfg { | 9 message SettingsCfg { |
| 10 // id to inject into pages if applicable. | 10 // id to inject into pages if applicable. |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 146 // server. | 146 // server. |
| 147 // | 147 // |
| 148 // All groups default to 'administrators'. | 148 // All groups default to 'administrators'. |
| 149 // | 149 // |
| 150 // See | 150 // See |
| 151 // https://github.com/luci/luci-py/blob/master/appengine/swarming/doc/Access-Gro ups.md | 151 // https://github.com/luci/luci-py/blob/master/appengine/swarming/doc/Access-Gro ups.md |
| 152 // for more detail. | 152 // for more detail. |
| 153 | 153 |
| 154 message AuthSettings { | 154 message AuthSettings { |
| 155 // Members of this group have full administrative access. | 155 // Members of this group have full administrative access. |
| 156 // | |
| 157 // Grants: | |
| 158 // - config view and edit | |
| 159 // - all of bot_bootstrap_group membership | |
| 160 // - all of privileged_users_group membership | |
| 156 optional string admins_group = 1; | 161 optional string admins_group = 1; |
|
Vadim Sh.
2017/07/25 17:02:50
nit: \n (and in other fields). With such big multi
M-A Ruel
2017/07/25 18:11:39
Done.
| |
| 157 // Members of this group can fetch swarming bot code and bootstrap bots. | 162 // Members of this group can fetch swarming bot code and bootstrap bots. |
| 163 // | |
| 164 // Grants: | |
| 165 // - bot create: create a token to annonymously fetch the bot code. | |
|
Vadim Sh.
2017/07/25 17:02:50
typo: anonymously
M-A Ruel
2017/07/25 18:11:39
Done.
| |
| 158 optional string bot_bootstrap_group = 2; | 166 optional string bot_bootstrap_group = 2; |
| 159 // Members of this group can schedule tasks and see everyone else's tasks. | 167 // Members of this group can schedule tasks and see everyone else's tasks. |
| 168 // | |
| 169 // Grants: | |
| 170 // - cancel any task | |
| 171 // - delete or terminate any bot | |
| 172 // - all of view_all_bots_group membership | |
| 173 // - all of view_all_tasks_group membership | |
| 160 optional string privileged_users_group = 3; | 174 optional string privileged_users_group = 3; |
| 161 // Members of this group can schedule tasks and see only their own tasks. | 175 // Members of this group can schedule tasks and see only their own tasks. |
| 176 // | |
| 177 // Grants: | |
| 178 // - create a task | |
| 179 // - view and edit own task | |
| 162 optional string users_group = 4; | 180 optional string users_group = 4; |
| 181 // Members of this group can view all bots. This is a read-only group. | |
| 182 // | |
| 183 // Grants: | |
| 184 // - view all bots | |
| 185 optional string view_all_bots_group = 5; | |
| 186 // Members of this group can view all tasks. This is a read-only group. | |
| 187 // | |
| 188 // Grants: | |
| 189 // - view all tasks | |
| 190 optional string view_all_tasks_group = 6; | |
| 163 } | 191 } |
| OLD | NEW |