| Index: scheduler/appengine/ui/acl.go
|
| diff --git a/scheduler/appengine/ui/acl.go b/scheduler/appengine/ui/acl.go
|
| deleted file mode 100644
|
| index f9f807d64c749819f229bd829fdea5eda6b89d78..0000000000000000000000000000000000000000
|
| --- a/scheduler/appengine/ui/acl.go
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -// Copyright 2016 The LUCI Authors. All rights reserved.
|
| -// Use of this source code is governed under the Apache License, Version 2.0
|
| -// that can be found in the LICENSE file.
|
| -
|
| -package ui
|
| -
|
| -import (
|
| - "golang.org/x/net/context"
|
| -
|
| - "github.com/luci/luci-go/server/auth"
|
| -)
|
| -
|
| -func isJobOwner(c context.Context, projectID, jobID string) bool {
|
| - // TODO(vadimsh): Do real ACLs.
|
| - ok, err := auth.IsMember(c, "administrators")
|
| - if err != nil {
|
| - panic(err)
|
| - }
|
| - return ok
|
| -}
|
|
|