Where they are set
Who can do what is not set in the config: it is set from the tablet, in the Permissions section, and stored in the database. Each action of each section is turned on or off per grade.
The server checks the permission on every request: removing a permission removes the feature, not just the button.
Who counts as command
A new install seeds starting values: the basics for every grade and the sensitive actions for command only. Command is detected in this order, and the first one that finds someone wins:
- Grades with
permisosTablet = true in your job definition. It is a tablet-specific field: add it if you want to separate real command from grades that only handle the society account.
- If no grade has it, grades with
isboss = true (the standard Qbox and QBCore field).
- If none, the highest grade of each police job.
It is never left empty: if nobody can see Permissions, the tablet detects it on start and gives the command actions back to those grades.
The seed happens once
Starting values are applied once, on the first install. After that, the database rules: no update resets permissions to their initial state. To change them on a running server: tablet → Permissions.
A section turned off with its flag also disappears from the permissions screen. Its rows stay, so turning it back on restores what it had.
Every action
The "Default" column is what a new install seeds: Everyone is any grade and Command the grades detected as command.
Dashboard
| Action | What it allows | Default |
|---|
panel.view | View dashboard | Everyone |
panel.manage_officer_of_month | Name officer of the month | Command |
panel.manage_notes | Manage highlighted notes | Command |
Incidents
| Action | What it allows | Default |
|---|
incidents.view | View incidents | Everyone |
incidents.create | Create | Everyone |
incidents.edit | Edit | Everyone |
incidents.link | Link incidents | Everyone |
incidents.triage | Change status and tags of others' incidents | Everyone |
incidents.delete | Delete own | Everyone |
incidents.delete_any | Delete others' | Command |
incidents.lock | Lock with password | Command |
incidents.unlock | Unlock without password | Command |
Citizens
| Action | What it allows | Default |
|---|
citizens.view | View files | Everyone |
citizens.set_wanted | Mark as wanted | Everyone |
citizens.set_dangerous | Mark as dangerous | Command |
citizens.edit_notes | Edit and delete notes | Command |
citizens.edit_tags | Edit tags | Command |
citizens.restore_points | Restore licence points | Command |
citizens.duplicate_id | Duplicate ID and licences | Everyone |
citizens.mark_fine_paid | Mark fine as paid | Command |
citizens.delete_fine | Delete fine | Command |
citizens.register_weapon | Register weapon | Everyone |
citizens.delete_weapon | Delete registered weapon | Command |
citizens.edit_relations | Declare and delete relations | Command |
citizens.manage_relation_types | Manage relation types | Command |
citizens.lock | Lock file with password | Command |
citizens.unlock | Open locked file without password | Command |
Vehicles
| Action | What it allows | Default |
|---|
vehicles.view | View vehicles | Everyone |
vehicles.toggle_search | Set and clear wanted | Everyone |
Cells
| Action | What it allows | Default |
|---|
cells.view | View cells | Everyone |
cells.jail | Jail | Everyone |
cells.release | Release early | Command |
Depot
| Action | What it allows | Default |
|---|
depot.view | View depot | Everyone |
depot.release | Release vehicle | Everyone |
depot.impound | Impound vehicle | Everyone |
Officers
| Action | What it allows | Default |
|---|
officers.view | View officers | Everyone |
officers.hire | Hire | Command |
officers.fire | Fire | Command |
officers.set_grade | Change rank | Command |
officers.set_division | Change division | Command |
officers.set_assignment | Change assignment | Command |
officers.photo_studio | Studio photo | Command |
officers.suspend | Suspend without pay | Command |
officers.delete_weapon | Delete registered serial | Command |
Divisions
| Action | What it allows | Default |
|---|
divisions.view | View | Everyone |
divisions.create | Create | Command |
divisions.edit | Edit | Command |
divisions.delete | Delete | Command |
Internal licences
| Action | What it allows | Default |
|---|
licenses.view | View | Command |
licenses.grant | Grant | Command |
licenses.revoke | Revoke | Command |
licenses.create | Create | Command |
licenses.edit | Edit | Command |
licenses.delete | Delete | Command |
Decorations
| Action | What it allows | Default |
|---|
awards.view | View | Command |
awards.create | Create | Command |
awards.edit | Edit | Command |
awards.delete | Delete | Command |
awards.grant | Grant | Command |
awards.revoke | Revoke | Command |
Medals
| Action | What it allows | Default |
|---|
medals.view / medals.create / medals.edit / medals.delete / medals.grant / medals.revoke | Same as decorations | Command |
Service stripes
| Action | What it allows | Default |
|---|
stripes.view / stripes.create / stripes.edit / stripes.delete / stripes.grant / stripes.revoke | Same as decorations | Command |
Diplomas
| Action | What it allows | Default |
|---|
diplomas.view | View | Command |
diplomas.create | Create | Command |
diplomas.edit | Edit | Command |
diplomas.delete | Delete | Command |
diplomas.edit_template | Edit template | Command |
Contracts
| Action | What it allows | Default |
|---|
contratos.view | View | Command |
contratos.create | Issue | Command |
contratos.cancel | Cancel | Command |
contratos.delete | Delete | Command |
contratos.edit_template | Edit template | Command |
Briefings
| Action | What it allows | Default |
|---|
briefings.view | View the wall | Everyone |
briefings.create | Post | Everyone |
briefings.edit | Edit others' notes | Command |
briefings.delete | Delete others' notes | Command |
Warehouse
| Action | What it allows | Default |
|---|
warehouse.view | View warehouse | Everyone |
warehouse.open | Open stash | Everyone |
Shop
| Action | What it allows | Default |
|---|
shop.view | Access the shop | Command |
shop.buy | Request orders | Command |
shop.manage | Manage the catalogue | Command |
shop.approve | Approve orders | Command |
shop.orders | Cancel orders or change who pays | Command |
Bodycams
| Action | What it allows | Default |
|---|
bodycams.view | View bodycams | Everyone |
bodycams.request | Request bodycam | Command |
bodycams.delete | Delete recording | Command |
Gallery
| Action | What it allows | Default |
|---|
gallery.view | View gallery | Everyone |
gallery.delete | Delete image | Command |
Legal
| Action | What it allows | Default |
|---|
legal.view | View penal code | Everyone |
legal.create | Create article | Command |
legal.edit | Edit article | Command |
legal.delete | Delete article | Command |
Agreements
| Action | What it allows | Default |
|---|
convenios.view | View | Everyone |
convenios.create | Sign | Command |
convenios.edit | Edit | Command |
convenios.delete | Cancel | Command |
Time record
| Action | What it allows | Default |
|---|
timerecord.view | View time record | Command |
Transactions
| Action | What it allows | Default |
|---|
transactions.view | View transactions | Command |
transactions.view_small | Also view movements under 10,000 | Command |
Accounts
| Action | What it allows | Default |
|---|
cuentas.view | View station accounts | Command |
Car rentals
| Action | What it allows | Default |
|---|
rentals.view | View rentals | Everyone |
Permissions
| Action | What it allows | Default |
|---|
permissions.view | View permissions | Command |
permissions.manage | Change permissions | Command |
Note
Transactions, Accounts and Car rentals only appear with the Eleven resources that feed them. See Feature flags.