Hey there! Yes you are correct any GM level privileges are done through rbac
In the auth db you will find a table called
This will include secID and permissionId. The secID is the different GM levels while the permissionId represents that GMlevel in the
table.
Take a look at the rbac_permissions table it has all the permissions and their Ids.
You must insert into the linked permissions table a permissionId in the ID column and a permission ID in the linkedId column.
Edit: A quick way to change which level account has which privileges is run an SQL query like
Code:
UPDATE rbac_linked_permissions
SET id=INSERT_GM_PERMISSION_ID_HERE //The rank which you want to push the privileges to
WHERE id=INSERT_OLD_PERMISSION_ID; //The rank which you want to take privileges from
The IDs i refer to here are the permissionID from default_permissions table.
This will overwrite the table so make sure you have the right IDs