STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
backend.routers.users Namespace Reference

Functions

 list_users (Request request)

Variables

 router = APIRouter(prefix="/api/engine", tags=["users"])

Detailed Description

``GET /api/engine/users`` -- who a design can be shared with.

A thin route over :mod:`backend.directory`; that module documents where the
roster comes from, why it is a union of two sources, and why the outbound call
to auth is not an SSRF hole.

Function Documentation

◆ list_users()

backend.routers.users.list_users ( Request request)
The share picker's options. Never fails: an unreachable auth service
degrades to whoever already has designs on the volume.

Definition at line 18 of file users.py.

Variable Documentation

◆ router

backend.routers.users.router = APIRouter(prefix="/api/engine", tags=["users"])

Definition at line 14 of file users.py.