Skip to content

Conversation

@Jusshersmith
Copy link
Contributor

Problem

Groups aren't actively removed from the fillcache if we find that the group can't be found (based on return codes from the identity provider).

Solution

If the group can't be found by the identity provider, then delete it from the fillcache.

@codecov
Copy link

codecov bot commented Feb 10, 2020

Codecov Report

Merging #282 into master will increase coverage by 0.01%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #282      +/-   ##
==========================================
+ Coverage   62.51%   62.53%   +0.01%     
==========================================
  Files          54       54              
  Lines        4199     4201       +2     
==========================================
+ Hits         2625     2627       +2     
  Misses       1385     1385              
  Partials      189      189
Impacted Files Coverage Δ
internal/auth/providers/google_admin.go 0% <0%> (ø) ⬆️
internal/pkg/groups/fillcache.go 74.64% <100%> (+0.73%) ⬆️

@Jusshersmith Jusshersmith merged commit 460b059 into master Feb 12, 2020
@Jusshersmith Jusshersmith deleted the fillcache-remove-from-cache-if-group-cannot-be-found branch February 12, 2020 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

group validation should fail if group no longer exists

2 participants