I was looking through the database, and I was just wondering how administrators are specified / determined.. as far as I could tell (I may have missed something) I couldn’t see any distinction between admins and non-admins in the pilots table.
In the Admin Center, there is Pilot Groups. There is where the distinction of rank is made. Not sure where in the database it is listed as.
The pilot groups (ie admins, pilots, managers, etc…) are configured in the groups table and then the pilot assignments use the groupmembers table. This allows a pilot/member to be a member of more than one group. Permission sets are based off of a bitwise value system that is embeded in the app.config.php file in the core folder and then the value for each group is stored within the groups table. Hope this helps.
Then as Jeff says, the control panel for these values in in the admin center.