Summary
If a user is a project manager, but not a super admin, the user can't manually upload captures to stations. However deleting captures that other users have uploaded is fine.
When we manually upload a capture, we make a POST request to /api/v2/captures/upload/. The project_id is currently not part of the params, only deployment.
I think we should make it a prio to fix this, manually uploading captures is what I recommend new users to do if they want to give Antenna a quick test run.
Possible Fix Implementation
We need some backend fix here to begin with. Maybe we should also consider including the project id when we make the upload call (however I tested and it's not enough).
How to Reproduce the Bug
Login as a user that is a project manager but not a super admin (this can be simulated from local admin for example). Try manually upload captures.
Screenshots

Summary
If a user is a project manager, but not a super admin, the user can't manually upload captures to stations. However deleting captures that other users have uploaded is fine.
When we manually upload a capture, we make a POST request to
/api/v2/captures/upload/. Theproject_idis currently not part of the params, onlydeployment.I think we should make it a prio to fix this, manually uploading captures is what I recommend new users to do if they want to give Antenna a quick test run.
Possible Fix Implementation
We need some backend fix here to begin with. Maybe we should also consider including the project id when we make the upload call (however I tested and it's not enough).
How to Reproduce the Bug
Login as a user that is a project manager but not a super admin (this can be simulated from local admin for example). Try manually upload captures.
Screenshots