copyright license update

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-05-25 14:51:24 +08:00
parent 48db63b91f
commit 85b61dce7c
394 changed files with 3050 additions and 2067 deletions

View File

@@ -1,5 +1,5 @@
/*
Copyright 2014 The Kubernetes Authors.
Copyright 2020 The KubeSphere Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -22,6 +22,9 @@ import (
"k8s.io/apiserver/pkg/authentication/user"
)
// NOTE: This file is copied from k8s.io/kubernetes/apiserver/pkg/authorization/authorizer.
// We have expanded some attributes, such as workspace and cluster.
// Attributes is an interface used by an Authorizer to get information about a request
// that is used to make an authorization decision.
type Attributes interface {