in 3.3.5a
in-game its
Code:
.account set gmlevel [account name] [level 0 to 3] [realmid or -1 for all]
in sql its auth.account_access and auth.rbac_account_permissions .
account_access would be (account id, gm level, what realm (-1 for all)).
rbac_account_permissions would be (account id, permission id, granted 0/1 no/yes, realmid or -1 for all).
I think its the same in 4.3.4 also
What did you do to fix your problem?