Faustin Resources

Networks and roles

Who sees which cameras, and what each role may do.

Networks

  • Private: every character has one, for their own home or business.
  • Job: made for a job from Config.JobNetworks. Employees get a role from their grade. Police get LSPD Surveillance by default.
  • Business and police networks are made by CCTV admins in the console.
lua
Config.JobNetworks = {
    { job = 'police', name = 'LSPD Surveillance', kind = 'police',
      grades = { [0] = 'operator', [2] = 'analyst', [4] = 'supervisor' } },
}
Config.DefaultJobGrades = { [0] = 'viewer', [1] = 'operator', [2] = 'analyst', [3] = 'supervisor', [4] = 'admin' }

Roles

RoleCan
ViewerWatch cameras live, the archive, rewind, the map and area search.
OperatorSteer cameras, use the speaker, print photos, mark wanted plates and people.
AnalystProtect footage as evidence.
SupervisorInstall and take down equipment, rename cameras, see access and the audit log, remove protections.
AdminChange who has access and rename or delete the network.

Access can also be granted to one character by player ID. Every grant, search and change is written to the audit log.