webknossos
webknossos copied to clipboard
Adapt UI to show dataset-creating Jobs only to Privileged Users
Dataset-creating jobs run a trigger API, which is forbidden for member-only users. This will be enforced in the backend/worker starting with #6547.
Quoting from https://github.com/scalableminds/webknossos/pull/6547#issuecomment-2034813785
I think we should make the changes to the UI to prevent members to run jobs that create datasets.
The relevant jobs are currently
- convert_to_wkw
- infer_neurons
- infer_nuclei
- materialize_volume_annotation
Their buttons should be hidden for users that are neither dataset manager nor team manager nor admin.