| Index: scheduler/appengine/catalog/catalog.go
|
| diff --git a/scheduler/appengine/catalog/catalog.go b/scheduler/appengine/catalog/catalog.go
|
| index 4f9ecb48bc31590e0434d520994beea1f84e7f8b..d140aa3fe05312c214b62bbe37bf1134bd5ae06e 100644
|
| --- a/scheduler/appengine/catalog/catalog.go
|
| +++ b/scheduler/appengine/catalog/catalog.go
|
| @@ -283,6 +283,10 @@ func (cat *catalog) GetProjectJobs(c context.Context, projectID string) ([]Defin
|
| logging.Errorf(c, "Failed to compute task ACLs: %s/%s: %s", projectID, id, err)
|
| continue
|
| }
|
| + // TODO(tandrii): remove this once this warning stops firing.
|
| + if len(acls.Owners) == 0 || len(acls.Readers) == 0 {
|
| + logging.Warningf(c, "Missing some ACLs on %s/%s: R=%d O=%d", projectID, id, len(acls.Owners), len(acls.Readers))
|
| + }
|
| out = append(out, Definition{
|
| JobID: fmt.Sprintf("%s/%s", projectID, job.Id),
|
| Acls: *acls,
|
| @@ -322,6 +326,10 @@ func (cat *catalog) GetProjectJobs(c context.Context, projectID string) ([]Defin
|
| logging.Errorf(c, "Failed to compute task ACLs: %s/%s: %s", projectID, id, err)
|
| continue
|
| }
|
| + // TODO(tandrii): remove this once this warning stops firing.
|
| + if len(acls.Owners) == 0 || len(acls.Readers) == 0 {
|
| + logging.Warningf(c, "Missing some ACLs on %s/%s: R=%d O=%d", projectID, id, len(acls.Owners), len(acls.Readers))
|
| + }
|
| out = append(out, Definition{
|
| JobID: fmt.Sprintf("%s/%s", projectID, trigger.Id),
|
| Acls: *acls,
|
|
|