-
Notifications
You must be signed in to change notification settings - Fork 11
[Draft] Fix exports permissions #1077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for antenna-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for antenna-ssec ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughThis change refactors data export permissions from a single Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 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 |
|
Thanks for fixing this one @mohamedelabbas1996. It's interesting that we didn't already have a permission for exports and no one has complained. Did something change? |

Summary
This PR fixes an issue where only superusers could create data exports, preventing project managers and researchers from performing this action. It applies object-level permissions to the exports viewset and replaces the single TRIGGER_EXPORT permission with separate create, update, and delete permissions for finer access control.
List of Changes
TBD
Related Issues
#1078
Detailed Description
TBD
How to Test the Changes
TBD
Screenshots
TBD
Deployment Notes
TBD
Checklist
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.