Skip to content

fix: scope accounting authorization to requested user#107

Merged
poyrazK merged 1 commit intofeature/multi-tenancy-rbac-refactorfrom
fix/accounting-rbac-resource-scope
Apr 4, 2026
Merged

fix: scope accounting authorization to requested user#107
poyrazK merged 1 commit intofeature/multi-tenancy-rbac-refactorfrom
fix/accounting-rbac-resource-scope

Conversation

@poyrazK
Copy link
Copy Markdown
Owner

@poyrazK poyrazK commented Apr 4, 2026

Summary

  • authorize accounting reads against the requested user resource instead of a wildcard
  • tighten GetSummary and ListUsage so the RBAC check matches the data being fetched

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 4, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a61109b7-613b-4afd-9e9a-07c6811f6db9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/accounting-rbac-resource-scope

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@poyrazK poyrazK merged commit e354f3c into feature/multi-tenancy-rbac-refactor Apr 4, 2026
1 check passed
@poyrazK poyrazK deleted the fix/accounting-rbac-resource-scope branch April 12, 2026 15:57
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