Fix the completely fucked up "my permission", the board equivalent, and staff permissions page since a recent permission update. Upside is it now considers the "parent" thing, which is nice.
[Permissions.MANAGE_GLOBAL_ACCOUNTS]:{label:'Accounts',desc:'Access the accounts list. Ability to search/sort. Ability to edit permissions of any user.',parent:Permissions.ROOT},
[Permissions.MANAGE_GLOBAL_ACCOUNTS]:{label:'Accounts',desc:'Access the accounts list. Ability to search/sort. Ability to edit permissions of any user.',parent:Permissions.ROOT},
[Permissions.MANAGE_GLOBAL_ROLES]:{label:'Roles',desc:'Access roles list. Ability to edit roles',parent:Permissions.ROOT},
[Permissions.MANAGE_GLOBAL_ROLES]:{label:'Roles',desc:'Access roles list. Ability to edit roles',parent:Permissions.ROOT},
[Permissions.MANAGE_BOARD_OWNER]:{title:'Board Management',subtitle:'Note: Setting board management permissions on an account/role level will grant them globally i.e for all boards.\nTo make somebody a normal board owner/staff, transfer them the board or give them the appropriate permissions in the board staff permission editing interface.',label:'Board Owner',desc:'Full control of the board, equivalent to the BO. Can delete and/or transfer the board. Can only be given by somebody else with "Board Owner" permission. Use with caution!'},
[Permissions.MANAGE_BOARD_OWNER]:{title:'Board Management',subtitle:'Note: Setting board management permissions on an account/role level will grant them globally i.e for all boards.\nTo make somebody a normal board owner/staff, transfer them the board or give them the appropriate permissions in the board staff permission editing interface.',label:'Board Owner',desc:'Full control of the board, equivalent to the BO. Can delete and/or transfer the board. Can only be given by somebody else with "Board Owner" permission. Use with caution!',parent:Permissions.MANAGE_BOARD_OWNER},
[Permissions.MANAGE_BOARD_GENERAL]:{label:'Board Staff',desc:'General board staff permission. Access mod index, catalog, recent posts and reports. Ability to submit mod actions. Bypass board-specific bans and post filters.'},
[Permissions.MANAGE_BOARD_GENERAL]:{label:'Board Staff',desc:'General board staff permission. Access mod index, catalog, recent posts and reports. Ability to submit mod actions. Bypass board-specific bans and post filters.'},
[Permissions.MANAGE_BOARD_BANS]:{label:'Bans',desc:'Access board bans. Ability to unban, edit, or deny appeals.'},
[Permissions.MANAGE_BOARD_BANS]:{label:'Bans',desc:'Access board bans. Ability to unban, edit, or deny appeals.'},
[Permissions.MANAGE_BOARD_LOGS]:{label:'Logs',desc:'Access board logs. Ability to search/filter.'},
[Permissions.MANAGE_BOARD_LOGS]:{label:'Logs',desc:'Access board logs. Ability to search/filter.'},
[Permissions.MANAGE_BOARD_SETTINGS]:{label:'Settings',desc:'Access board settings. Ability to change any settings. Settings page will show transfer/delete forms for those with "Board Owner" permission.'},
[Permissions.MANAGE_BOARD_SETTINGS]:{label:'Settings',desc:'Access board settings. Ability to change any settings. Settings page will show transfer/delete forms for those with "Board Owner" permission.'},
[Permissions.MANAGE_BOARD_CUSTOMISATION]:{label:'Customisation',desc:'Access to board assets and custompages. Ability to upload, create, edit, delete.'},
[Permissions.MANAGE_BOARD_CUSTOMISATION]:{label:'Customisation',desc:'Access to board assets and custompages. Ability to upload, create, edit, delete.'},
[Permissions.MANAGE_BOARD_STAFF]:{label:'Staff',desc:'Access to staff management, and ability to add or remove permissions from others. Can only be given by somebody else with "Board Owner" permission. Use with caution!'},
[Permissions.MANAGE_BOARD_STAFF]:{label:'Staff',desc:'Access to staff management, and ability to add or remove permissions from others. Can only be given by somebody else with "Board Owner" permission. Use with caution!',parent:Permissions.MANAGE_BOARD_OWNER},