Skip to content

feat(middlewares): add permission middleware for tool call gating#966

Open
shentongmartin wants to merge 59 commits into
mainfrom
feat/permission
Open

feat(middlewares): add permission middleware for tool call gating#966
shentongmartin wants to merge 59 commits into
mainfrom
feat/permission

feat(middlewares): wrap enhanced tool endpoints and add i18n deny mes…

1d49154
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 20, 2026 in 0s

No report found to compare against

View this Pull Request on Codecov

No report found to compare against

Details

Codecov Report

❌ Patch coverage is 95.00000% with 5 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (alpha/09@d7161f7). Learn more about missing BASE report.

Files with missing lines Patch % Lines
adk/middlewares/permission/permission.go 95.00% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             alpha/09     #966   +/-   ##
===========================================
  Coverage            ?   82.23%           
===========================================
  Files               ?      163           
  Lines               ?    20405           
  Branches            ?        0           
===========================================
  Hits                ?    16781           
  Misses              ?     2447           
  Partials            ?     1177           

☔ 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.