Skip to content

feat: add API key authentication support#2431

Merged
dpgaspar merged 16 commits into
dpgaspar:masterfrom
aminghadersohi:amin/ch99414/api-key-auth
Mar 1, 2026
Merged

feat: add API key authentication support#2431
dpgaspar merged 16 commits into
dpgaspar:masterfrom
aminghadersohi:amin/ch99414/api-key-auth

fix: clean up noperms_user in tearDown to prevent test pollution

92d7393
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 27, 2026 in 1s

79.90% (+0.04%) compared to b69c8f1

View this Pull Request on Codecov

79.90% (+0.04%) compared to b69c8f1

Details

Codecov Report

❌ Patch coverage is 90.04149% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.90%. Comparing base (b69c8f1) to head (92d7393).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
flask_appbuilder/security/sqla/manager.py 82.92% 14 Missing ⚠️
flask_appbuilder/security/manager.py 73.33% 8 Missing ⚠️
flask_appbuilder/security/sqla/apis/api_key/api.py 98.38% 1 Missing ⚠️
flask_appbuilder/security/sqla/models.py 96.55% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2431      +/-   ##
==========================================
+ Coverage   79.86%   79.90%   +0.04%     
==========================================
  Files          76       81       +5     
  Lines        8726     9183     +457     
==========================================
+ Hits         6969     7338     +369     
- Misses       1757     1845      +88     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.