Deploy Canina / deploy (push) Successful in 4m40s
Preserve independent proposer checks, canonical Admin UUID allowlist and deny ordinary admins. Revalidate pinned owner in read-only CI preflight; expose server-advertised card decisions and distinguish reservation from unknown real cost. Verified backend 42 HTTP/service/config tests and build; admin 18 relevant tests, app tsc and Vite build; 3 CI config tests and bash syntax.
9 lines
524 B
Python
9 lines
524 B
Python
# Stage-only named grant: explicit user-authorized owner, not discovery of all admins.
|
|
# Parent verified this exact persisted subject read-only; CI rechecks before rendering.
|
|
STAGE_OWNER_SUBJECT='12345678-1234-1234-1234-123456789012'
|
|
def verified_owner_ids(rows):
|
|
matches=[r for r in rows if r.get('id')==STAGE_OWNER_SUBJECT]
|
|
if len(matches)!=1 or matches[0].get('role','').lower().replace('_','').replace('-','')!='admin':
|
|
raise ValueError('Pinned Stage owner must exist with Admin role')
|
|
return [STAGE_OWNER_SUBJECT]
|