mirror of
https://github.com/rancher/steve.git
synced 2025-09-01 15:37:31 +00:00
Allow passing in access control impl to the server
This commit is contained in:
@@ -5,6 +5,10 @@ import (
|
||||
"k8s.io/apiserver/pkg/authentication/user"
|
||||
)
|
||||
|
||||
type AccessSetLookup interface {
|
||||
AccessFor(user user.Info) *AccessSet
|
||||
}
|
||||
|
||||
type AccessStore struct {
|
||||
users *policyRuleIndex
|
||||
groups *policyRuleIndex
|
||||
|
Reference in New Issue
Block a user