Permissions
Ace Permissions
Its required to add those permissions in your server.cfg if you want to use ace permissions
add_ace resource.rcore_shortcuts command.add_ace allow
add_ace resource.rcore_shortcuts command.remove_ace allow
add_ace resource.rcore_shortcuts command.add_principal allow
add_ace resource.rcore_shortcuts command.remove_principal allow
If you want to use ace permissions you need to enable it in config.lua and then you could define roles for admin access in permissions.lua
Config.UseAcePermissions = true
All definitions and checks are located in server/api/permissions.lua. For default ESX/QBCore permissions we use cache for better performance.
Each action has its own permissions check in server/api/permissions.lua.
ESX/QBCore permissions
Groups for permissions are defined in config.lua
Config.AllowedGroups = {
'superadmin', --ESX
'admin', --ESX
'god', --QBCore
}
This permissions are used only when ace permissions are disabled
Last updated
Was this helpful?