Update role and permission mappings in Helm chart and role-to-scope mapping filr - #3125
Conversation
…apping files to include new API management permissions and adjust existing ones for llm_provider.
|
Warning Review limit reached
Next review available in: 47 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR expands ChangesAuthorization scope configuration
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@platform-api/resources/role-to-scope-mapping.yaml`:
- Line 164: The `ap_publisher` role comment at lines 151-152 describes full LLM
lifecycle ownership, but the permission on line 164 has been changed from
`ap:llm_provider:manage` to `ap:llm_provider:read`, indicating the role now has
read-only access to LLM providers rather than full management. Update the
`ap_publisher` role description to accurately reflect that the role can read LLM
providers and manage provider deployments, removing the claim of owning the full
LLM lifecycle.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 5a73c193-11ba-4aff-bfbd-d365b4c83f49
📒 Files selected for processing (2)
kubernetes/helm/platform-api-helm-chart/values.yamlplatform-api/resources/role-to-scope-mapping.yaml
…mapping files, consolidating llm_provider permissions and clarifying scope definitions for better management and access control.
Update role and permission mappings in Helm chart and role-to-scope mapping files to include new API management permissions and adjust existing ones for llm_provider.