1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(api): trigger an authorization update after auto-provisioning users (#3428)

This commit is contained in:
Anthony Lapenna 2019-12-04 15:32:55 +13:00 committed by GitHub
parent f6cefb3318
commit 29b7eeef5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 0 deletions

View file

@ -136,6 +136,7 @@ func (server *Server) Start() error {
authHandler.EndpointGroupService = server.EndpointGroupService
authHandler.RoleService = server.RoleService
authHandler.ProxyManager = proxyManager
authHandler.AuthorizationService = authorizationService
var roleHandler = roles.NewHandler(requestBouncer)
roleHandler.RoleService = server.RoleService