mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
fix(kubernetes): run group permission when endpoint is up [EE-5427] (#10121)
* update group access when env is down * fix tests
This commit is contained in:
parent
d75a8027a5
commit
a02f9f1f07
7 changed files with 90 additions and 3 deletions
|
@ -9,12 +9,12 @@ import (
|
|||
// Service represents a service used to
|
||||
// update authorizations associated to a user or team.
|
||||
type Service struct {
|
||||
dataStore dataservices.DataStore
|
||||
dataStore dataservices.DataStoreTx
|
||||
K8sClientFactory *cli.ClientFactory
|
||||
}
|
||||
|
||||
// NewService returns a point to a new Service instance.
|
||||
func NewService(dataStore dataservices.DataStore) *Service {
|
||||
func NewService(dataStore dataservices.DataStoreTx) *Service {
|
||||
return &Service{
|
||||
dataStore: dataStore,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue