Add option to lock devices behind a password/auth-auth?

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by locating how create_gui.yaml is read and how device controls are enabled. Clarify the password and locked semantics, including which devices are affected and what unlock behavior is expected; done means the configuration is supported and locked devices cannot be used without the required authentication.

Written by the indexing model from the issue text.

Description

enhancement

On some beamlines (e.g. I19) they have found it useful to have the option of "locking" devices behind a password so that users can't go and mess around in them. Could it be useful to add a "locked" option to the create_gui.yaml?

e.g.

beamline:
  dom: p47
  desc: Test Beamline
  password: 1234          <----------

components:
  fshtr:
    desc: Fast Shutter
    prefix: BL47P-EA-FSHTR-01
    locked: true           <----------
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DiamondLightSource/techui-builder

All issues in DiamondLightSource/techui-builder

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.