| Index: milo/appengine/settings/acl.go
|
| diff --git a/milo/appengine/settings/acl.go b/milo/appengine/settings/acl.go
|
| index 43297fa893104eccc66ce264b9b0752eeed8ec2b..25599864adeb1961bda196691bed4247133b9fdd 100644
|
| --- a/milo/appengine/settings/acl.go
|
| +++ b/milo/appengine/settings/acl.go
|
| @@ -54,3 +54,9 @@ func IsAllowed(c context.Context, project string) (bool, error) {
|
| }
|
| return false, nil
|
| }
|
| +
|
| +// IsAllowedInternal is a shorthand for checking to see if the user is a reader
|
| +// of a magic project named "buildbot-internal".
|
| +func IsAllowedInternal(c context.Context) (bool, error) {
|
| + return IsAllowed(c, "buildbot-internal")
|
| +}
|
|
|