webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

Adapt UI to show dataset-creating Jobs only to Privileged Users

Open fm3 opened this issue 1 year ago • 0 comments

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.

fm3 avatar Apr 03 '24 14:04 fm3