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

Unified Diff: appengine/swarming/proto/config.proto

Issue 2984843002: swarming: switch to a 'capability focused' ACL system (Closed)
Patch Set: Tuned permissions, added tests Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/handlers_frontend.py ('k') | appengine/swarming/proto/config_pb2.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/proto/config.proto
diff --git a/appengine/swarming/proto/config.proto b/appengine/swarming/proto/config.proto
index ea5e6f3092134b0cb2a21a200b0c4fb3930f105a..5d1cc521d927561cc3830b7e2d72f9358199c930 100644
--- a/appengine/swarming/proto/config.proto
+++ b/appengine/swarming/proto/config.proto
@@ -153,11 +153,45 @@ message DimensionACLs {
message AuthSettings {
// Members of this group have full administrative access.
+ //
+ // Grants:
+ // - config view and edit
+ // - delete any bot
+ // - all of bot_bootstrap_group membership
+ // - all of privileged_users_group membership
optional string admins_group = 1;
+
// Members of this group can fetch swarming bot code and bootstrap bots.
+ //
+ // Grants:
+ // - bot create: create a token to anonymously fetch the bot code.
optional string bot_bootstrap_group = 2;
+
// Members of this group can schedule tasks and see everyone else's tasks.
+ //
+ // Grants:
+ // - cancel any task
+ // - edit (terminate) any bot
+ // - all of view_all_bots_group membership
+ // - all of view_all_tasks_group membership
optional string privileged_users_group = 3;
+
// Members of this group can schedule tasks and see only their own tasks.
+ //
+ // Grants:
+ // - create a task
+ // - view and edit own task
optional string users_group = 4;
+
+ // Members of this group can view all bots. This is a read-only group.
+ //
+ // Grants:
+ // - view all bots
+ optional string view_all_bots_group = 5;
+
+ // Members of this group can view all tasks. This is a read-only group.
+ //
+ // Grants:
+ // - view all tasks
+ optional string view_all_tasks_group = 6;
}
« no previous file with comments | « appengine/swarming/handlers_frontend.py ('k') | appengine/swarming/proto/config_pb2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698