Permissions
config/permissions.json
{
"list": [
"dashboard.view",
"incidents.view",
"evidences.view",
"warrants.view",
"officers.view",
// rest of permissions...
],
"ranks": {
"police": {
"0": [
"dashboard.view",
"incidents.view",
"evidences.view"
],
"1": [
// this includes the previous permissions
"incidents.delete",
"evidences.delete"
],
"2": [
// this includes the previous permissions
"warrants.delete",
"warrants.create"
],
"3": [
// this includes the previous permissions
"cameras.bodycam.view",
"codes.delete"
],
"4": [
// this includes the previous permissions
"announcements.create",
"announcements.delete"
]
},
// "job_name": {
// "grade": {
// ...permissions
// }
// }
}
}
Last updated