Skip to content

Feature catalogue ​

The pack registers these IDs with np_jobs. The default permission node is feature.<feature-id> (for example, feature.press.camera). Job definitions may override the node using the host contract. In fallback mode, put grants in config/fallback_jobs.lua; never hardcode job names in resource code.

Feature Configuration schema and defaults Default node Current behavior
press.camera item=news_camera, maxZoom=8 (1–24), guides=true, outlet=weazel feature.press.camera Field camera, zoom, REC, framing and still uploads
press.photo item=press_dslr, maxZoom=12 (1–24), outlet=weazel feature.press.photo Camera access for still photographers
press.mic kinds=handheld,boom, range=3 (1–8), audio=captions or voice, outlet=weazel feature.press.mic Mic props and captions; optional shared pma-voice channel
press.broadcast channels=weazel, personal=false, outlet=weazel feature.press.broadcast Starts/stops feeds through np_screens, subject to its channel gate
press.director channels=weazel, outlet=weazel feature.press.director Can manage graphics on its configured channels
press.live templates (headline, ticker, lowerThird, breaking), outlet=weazel feature.press.live Headline/ticker graphics and nearby interview mode through np_screens; configured template grants are enforced; timed lower-third export clears unless replaced
press.publish outlet=weazel, categories (local, city, traffic, weather, business, culture, sports), selfPublish=false feature.press.publish Drafts, submissions and phone News RPC publishing
press.editorial outlet=weazel, breakingPerHour=2 (0–20) feature.press.editorial Scoped editorial queue, approve, request changes, breaking and retract
press.release outlets (weazel, lifeinvader), embargo=true feature.press.release Saves a draft; no cross-outlet distribution or embargo scheduler yet
press.credentials outlet=weazel, scopes=local (comma-separated; supports local, state, event:<key>), validityDays=30 (1–365 max) feature.press.credentials Issue/list/revoke passes; scope and validity are constrained by feature config
press.helicam models=polmav,buzzard2, outlet=weazel feature.press.helicam Grants np_helicam's air role through its additive provider API; np_helicam still enforces its own aircraft whitelist, crew seat and normal camera rules
press.verified outlet=weazel feature.press.verified Syncs the np_phone Chirp verified badge when job features change; custom outlet labels need an np_phone API addition
press.tips outlet=weazel, anonymous=true feature.press.tips Read the configured outlet's tip inbox
press.scanner delaySeconds=180 (0–1800), types (shots, fire, pursuit) feature.press.scanner Capability metadata only; no police dispatch bridge

Schema types use the np_jobs API 1 contract: bool, enum, enumList, item, vehicleList, number and string. enumList options are starter values; deployments can extend outlets and channel options with their own feature catalog changes. An empty press.live.templates list keeps the default graphics set. A non-empty list limits which graphics the holder can publish. press.director can manage graphics without press.live.

np_screens also applies each channel's configured jobs allowlist to starting feeds. Until it exposes an np_jobs-aware broadcast provider, deployments must include every actual job allowed to broadcast in that channel's list; the np_press feature check still runs first.

Job compositions ​

Role Feature grants
Reporter press.camera, press.mic, press.broadcast, press.publish, press.credentials
Camera operator press.camera, press.photo, press.broadcast
Editor press.editorial, press.publish, press.live, press.tips
Streamer press.camera, press.broadcast, optionally press.publish
PR agent press.release, press.publish, press.credentials
Lifeinvader influencer press.camera, press.photo, press.publish, press.verified
Police press officer press.mic, press.publish, press.credentials, scoped press.live

The example roles are not built-in jobs. Configure a role's actual job name, faction rank and feature permissions in the host resource.