fix(api): update user authorizations after team deletion (#3315)

pull/3324/head
Anthony Lapenna 2019-10-31 08:46:50 +13:00 committed by GitHub
parent 07db1ca16e
commit 310b6b34da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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