feat(omny): grant gac-x01dc superuser access to advanced tomo modes
CI for csaxs_bec / test (push) Successful in 2m54s

For testing tomorrow. Note: bec.active_account is a Redis-backed pgroup
value set via `bec-set-account <pgroup>`, not derived from the OS login --
testing under this account requires running `bec-set-account gac-x01dc`
(or otherwise setting the pgroup to that value) before it takes effect.
This commit is contained in:
x01dc
2026-09-01 14:31:00 +02:00
parent e6928f295e
commit 336cae3cf5
@@ -44,9 +44,11 @@ class OMNYError(Exception):
# BEC accounts (bec.active_account, e.g. "e12345") allowed to select advanced tomo
# modes (golden ratio, 4/8 sub-tomogram) in OMNY.tomo_parameters(). Regular users only
# ever see "1: 2 equally spaced sub-tomograms". Populate with real beamline-staff
# account codes -- left empty until populated, so nobody sees the advanced options yet.
_SUPERUSER_ACCOUNTS: frozenset[str] = frozenset({})
# ever see "1: 2 equally spaced sub-tomograms". active_account is a Redis-backed
# pgroup value, set explicitly via `bec-set-account <pgroup>` -- it is NOT derived
# from the OS login, so testing as this account requires running
# `bec-set-account gac-x01dc` first (or wiring pgroup "gac-x01dc" some other way).
_SUPERUSER_ACCOUNTS: frozenset[str] = frozenset({"gac-x01dc"})
class OMNYInitStagesMixin: