mirror of https://github.com/portainer/portainer
fix(api): update user authorizations after team deletion (#3315)
parent
07db1ca16e
commit
310b6b34da
|
@ -164,7 +164,7 @@ func (service *AuthorizationService) RemoveTeamAccessPolicies(teamID TeamID) err
|
|||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
return service.UpdateUsersAuthorizations()
|
||||
}
|
||||
|
||||
// RemoveUserAccessPolicies will remove all existing access policies associated to the specified user
|
||||
|
|
Loading…
Reference in New Issue