Skip to content

feat: Add submit task permission checks#1549

Closed
tpoliaw wants to merge 3 commits into
tiled-token-validationfrom
submit-task-auth
Closed

feat: Add submit task permission checks#1549
tpoliaw wants to merge 3 commits into
tiled-token-validationfrom
submit-task-auth

Conversation

@tpoliaw
Copy link
Copy Markdown
Contributor

@tpoliaw tpoliaw commented May 28, 2026

Adds methods for calling OPA service to check if a user can submit a task

@tpoliaw tpoliaw requested a review from a team as a code owner May 28, 2026 17:35
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

❌ Patch coverage is 72.72727% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.34%. Comparing base (ddf28f2) to head (3617c09).

Files with missing lines Patch % Lines
src/blueapi/service/authorization.py 71.42% 6 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##           tiled-token-validation    #1549      +/-   ##
==========================================================
- Coverage                   95.43%   95.34%   -0.10%     
==========================================================
  Files                          44       44              
  Lines                        3289     3309      +20     
==========================================================
+ Hits                         3139     3155      +16     
- Misses                        150      154       +4     

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

@tpoliaw tpoliaw force-pushed the tiled-token-validation branch from ddf28f2 to 403846c Compare May 29, 2026 10:51
@tpoliaw tpoliaw force-pushed the tiled-token-validation branch from 403846c to c23b4d7 Compare June 2, 2026 10:21
@tpoliaw tpoliaw force-pushed the submit-task-auth branch from 3617c09 to 5c6f9e6 Compare June 2, 2026 10:21
@tpoliaw tpoliaw force-pushed the tiled-token-validation branch from c23b4d7 to b575c2b Compare June 2, 2026 10:24
@tpoliaw
Copy link
Copy Markdown
Contributor Author

tpoliaw commented Jun 2, 2026

Merging this into the PR where the checks are being used.

@tpoliaw tpoliaw closed this Jun 2, 2026
@tpoliaw tpoliaw deleted the submit-task-auth branch June 2, 2026 16:21
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.

1 participant