Press credentials ​
Press credentials are server-owned records in press_passes, keyed to the holder's framework identifier. A pass has
an outlet, scope, role, issuer, expiry and optional identification serial. Supported scopes are local, state and
event:<key>. The press.credentials feature's scopes string controls which scopes an issuer may grant; separate
entries with commas, for example local,event:cityhall.
Issue ​
Use the Credentials tab or /presspass <server id> [scope]. The target must be online and within five metres.
The feature config selects the outlet, allowed scopes and maximum validity period. Staff with np_press.passes can manage
passes across outlets. When np_identification runs, the target receives a press_pass document and the press row is
bound to that document's serial.
Verify access ​
Scene-access integrations should call the server export after their own access checks:
local allowed, pass = exports.np_press:hasPressAccess(targetSource, 'local')
if allowed then
-- permit the press credential through this access gate
end
local checks accept local and statewide passes; state checks accept statewide passes; a statewide pass does not
grant an event-specific check, which matches only the same event:<key>. Expired, revoked or document-mismatched
passes do not grant access. Do not send the returned pass
details to unrelated clients.
Revoke ​
Select Revoke next to an active pass in the Credentials tab, or use /presspassrevoke <pass id> with the
np_press.passes staff node. Feature issuers can revoke passes only for their own configured outlet. The matching
np_identification document is marked revoked when the integration is running.
The registered np_press:server:verifyCredential client event only returns the caller's own credential result;
cross-player verification is available as a server export for trusted resources.