| Index: scheduler/appengine/acl/doc.go
|
| diff --git a/scheduler/appengine/acl/acl.go b/scheduler/appengine/acl/doc.go
|
| similarity index 68%
|
| copy from scheduler/appengine/acl/acl.go
|
| copy to scheduler/appengine/acl/doc.go
|
| index 32a4f3f94d13b0a176204996f4fe8d366f733db4..8f34f379129ada1fd5f904b34b21478e31481f0e 100644
|
| --- a/scheduler/appengine/acl/acl.go
|
| +++ b/scheduler/appengine/acl/doc.go
|
| @@ -12,19 +12,5 @@
|
| // See the License for the specific language governing permissions and
|
| // limitations under the License.
|
|
|
| +// package acl implements ACLs for enforcement in API and UI.
|
| package acl
|
| -
|
| -import (
|
| - "golang.org/x/net/context"
|
| -
|
| - "github.com/luci/luci-go/server/auth"
|
| -)
|
| -
|
| -func IsJobOwner(c context.Context, projectID, jobName string) bool {
|
| - // TODO(vadimsh): Do real ACLs.
|
| - ok, err := auth.IsMember(c, "administrators")
|
| - if err != nil {
|
| - panic(err)
|
| - }
|
| - return ok
|
| -}
|
|
|