blob: cfbdb9c692f27d5be8f9086830ef8dbdb629d9e9 [file] [log] [blame]
// Copyright 2018 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package acl
import (
pb ""
const (
// new goma client client_id
GomaClientClientID = ""
// DefaultWhitelist is a loader to provide default whitelist, which pass through EUC.
type DefaultWhitelist struct{}
func (DefaultWhitelist) Load(ctx context.Context) (*pb.ACL, error) {
return &pb.ACL{
Groups: []*pb.Group{
Id: "chrome-bot",
Description: "chromium buildbot service account",
Emails: []string{""},
Id: "chromium-swarm-dev",
Description: "staging chromium-swarm-dev bots. http://b/63818232",
Emails: []string{""},
Id: "googler",
Audience: GomaClientClientID,
Domains: []string{""},
}, nil