SciCatProject / backend-v3

SciCat Data Catalogue Backend
https://scicatproject.github.io/documentation/
BSD 3-Clause "New" or "Revised" License
13 stars 17 forks source link

Job information should only be visible to job initiator #722

Open stephan271 opened 1 year ago

stephan271 commented 1 year ago

Issue Name

AddJobAuthorization

Current Behaviour

All logged in users see all jobs

Expected Behaviour

All logged in users see only the Jobs triggered by them. This is forced by the fact that there may be sensitive information in the jobresult json data.

ArchiveManager functional accounts should continue to see all data. Beamline functional accounts should see all jobs initiated under the corresponding functional account