Description
At this time the Test Kitchen UI webapp requires user authentication for everything except the Test Kitchen API endpoints which are publicly available.
@phuedx has suggested why not providing unauthenticated access to the read view for instruments and experiments configurations so that unauthenticated users could take a look at instruments or experiments configuration when following links like https://test-kitchen.wikimedia.org/experiment/sds2-4-11-synth-aa-test. This would bring some benefits:
- Users wouldn't need to log in when they only want to take a look at any instrument/experiment configuration (just a readonly view)
- At this time, when following a link like the above one when your session has expired, the login mechanism interrupts the browsing and, once you have logged-in again successfully, you have to click/paste again the link to see the configuration. Making this links publicly available would remove this problem
- As @mpopov mentioned in that discussion
Worth noting we have links to experiment details in the dashboard and the wikitech page, so curious reader can be a P&T senior leader or a volunteer.
Acceptance criteria
- Read view for instruments, /instrument/{machine-readable-name} is publicly available only to read the instrument configuration
- Read view for experiments, /experiment/{machine-readable-name} is publicly available only to read the experiment configuration