Builds the door risk/risk_upload.ts is handed: who is uploading, the console's CSRF check, and a realm administrator's scope check on the upload's fields.
risk/risk_upload.ts
the request
which surface asked
whether to check the console's CSRF token
the door: via, source, actor, csrf and scope
via
source
actor
csrf
scope
Builds the door
risk/risk_upload.tsis handed: who is uploading, the console's CSRF check, and a realm administrator's scope check on the upload's fields.