Society System
The Society System allows you to configure multiple companies, granting them access to view, manage, and update invoices based on their job grade. This feature is useful for organizing company finances and assigning permissions within the society.
1
2
Configuration Example
Below is a configuration snippet for setting up societies with access control:
Config.Societys = {
['police'] = { -- Example of a society (e.g., Police Department)
canAccessGrade = {
[4] = true, -- QBCore: Job grade 4 has access
['boss'] = true, -- ESX: Job grade name 'boss' has access
}
},
['mechanic'] = { -- Example of another society (e.g., Mechanics)
canAccessGrade = {
[2] = true, -- QBCore: Job grade 2 has access
['manager'] = true -- ESX: Job grade name 'manager' has access
}
}
}
How It Works
1
2
Last updated