feat(roles): grant ML Data Manager collection and pipeline config perms#1215
feat(roles): grant ML Data Manager collection and pipeline config perms#1215
Conversation
Add permissions to MLDataManager role: - CREATE/UPDATE/DELETE_COLLECTION and POPULATE_COLLECTION (capture sets) - UPDATE/DELETE_PROJECT_PIPELINE_CONFIG (already had CREATE) Co-Authored-By: Claude <noreply@anthropic.com>
✅ Deploy Preview for antenna-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for antenna-ssec canceled.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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.
Pull request overview
Extends the MLDataManager role’s permission set so ML data managers (and, via inheritance, project managers) can manage capture set collections and project pipeline configs needed for running batch ML jobs, following up on #1212.
Changes:
- Grant
MLDataManagerupdate/delete permissions for project pipeline configs. - Grant
MLDataManagercreate/update/delete/populate permissions for collections. - Permissions continue to flow to
ProjectManagerthrough role inheritance.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Summary
Follows up on #1212. Adds more permissions to the ML Data Manager role so they can fully manage the resources needed to run batch ML jobs:
CREATE_COLLECTION,UPDATE_COLLECTION,DELETE_COLLECTION,POPULATE_COLLECTIONUPDATE_PROJECT_PIPELINE_CONFIG,DELETE_PROJECT_PIPELINE_CONFIG(already hadCREATE)These also flow to Project Manager via role inheritance.
Test plan
TestRolePermissions— all 4 role tests pass (ProjectManager already expected these as True)TestMLDataManagerCanRunBatchMLJob— still passesami.users.tests— all 30 role/membership tests passSummary by CodeRabbit