maykinmedia / mozilla-django-oidc-db

Database-backed settings for mozilla-django-oidc, with modified unique identifiers for users
MIT License
4 stars 0 forks source link

:sparkles: Add configurable glob pattern for groups sync #20

Closed stevenbal closed 2 years ago

stevenbal commented 2 years ago

To prevent syncing irrelevant groups that are passed via the claims

codecov-commenter commented 2 years ago

Codecov Report

Merging #20 (af3ffda) into master (b44f07c) will increase coverage by 0.45%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   93.38%   93.84%   +0.45%     
==========================================
  Files          20       21       +1     
  Lines         484      520      +36     
==========================================
+ Hits          452      488      +36     
  Misses         32       32              
Impacted Files Coverage Δ
mozilla_django_oidc_db/admin.py 100.00% <ø> (ø)
tests/test_admin_form.py 100.00% <ø> (ø)
mozilla_django_oidc_db/backends.py 78.08% <100.00%> (+0.30%) :arrow_up:
...05_openidconnectconfig_sync_groups_glob_pattern.py 100.00% <100.00%> (ø)
mozilla_django_oidc_db/models.py 81.48% <100.00%> (+0.23%) :arrow_up:
tests/test_backend.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b44f07c...af3ffda. Read the comment docs.