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

Unified Diff: scheduler/api/scheduler/v1/scheduler.proto

Issue 2986033003: [scheduler]: ACLs phase 1 - per Job ACL specification and enforcement. (Closed)
Patch Set: Review. Created 3 years, 4 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 | « scheduler/api/scheduler/v1/pb.discovery.go ('k') | scheduler/api/scheduler/v1/scheduler.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scheduler/api/scheduler/v1/scheduler.proto
diff --git a/scheduler/api/scheduler/v1/scheduler.proto b/scheduler/api/scheduler/v1/scheduler.proto
index a36ee1709e5ad20224fd22baf37e5094774bfab7..4a6fd56ba503a6a4938d5d4065b832fc580c26d6 100644
--- a/scheduler/api/scheduler/v1/scheduler.proto
+++ b/scheduler/api/scheduler/v1/scheduler.proto
@@ -21,9 +21,13 @@ service Scheduler {
// PauseJob will prevent automatic triggering of a job. Manual triggering such
// as through this API is still allowed. Any pending or running invocations
// are still executed. PauseJob does nothing if job is already paused.
+ //
+ // Requires OWNER Job permission.
rpc PauseJob(JobRef) returns (google.protobuf.Empty);
// ResumeJob resumes paused job. ResumeJob does nothing if job is not paused.
+ //
+ // Requires OWNER Job permission.
rpc ResumeJob(JobRef) returns (google.protobuf.Empty);
// AbortJob resets the job to scheduled state, aborting a currently pending or
@@ -32,6 +36,8 @@ service Scheduler {
// Note, that this is similar to AbortInvocation except that AbortInvocation
// requires invocation ID and doesn't ensure that the invocation aborted is
// actually latest triggered for the job.
+ //
+ // Requires OWNER Job permission.
rpc AbortJob(JobRef) returns (google.protobuf.Empty);
// AbortInvocation aborts a given job invocation.
@@ -39,6 +45,8 @@ service Scheduler {
//
// If you want to abort a specific hung invocation, use this request instead
// of AbortJob.
+ //
+ // Requires OWNER Job permission.
rpc AbortInvocation(InvocationRef) returns (google.protobuf.Empty);
}
« no previous file with comments | « scheduler/api/scheduler/v1/pb.discovery.go ('k') | scheduler/api/scheduler/v1/scheduler.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698