Removed unused tester permission.

This commit is contained in:
flash 2023-01-06 00:03:29 +00:00
parent 56a9192f53
commit 338945d01e
2 changed files with 1 additions and 6 deletions

View file

@ -135,11 +135,6 @@ function manage_perms_list(array $rawPerms): array {
'title' => 'Can manage general Misuzu settings.', 'title' => 'Can manage general Misuzu settings.',
'perm' => MSZ_PERM_GENERAL_MANAGE_CONFIG, 'perm' => MSZ_PERM_GENERAL_MANAGE_CONFIG,
], ],
[
'section' => 'tester',
'title' => 'Can use experimental features.',
'perm' => MSZ_PERM_GENERAL_IS_TESTER,
],
[ [
'section' => 'manage-twitter', 'section' => 'manage-twitter',
'title' => 'Can manage Twitter connection.', 'title' => 'Can manage Twitter connection.',

View file

@ -4,7 +4,7 @@ define('MSZ_PERM_GENERAL_CAN_MANAGE', 0x00000001);
define('MSZ_PERM_GENERAL_VIEW_LOGS', 0x00000002); define('MSZ_PERM_GENERAL_VIEW_LOGS', 0x00000002);
define('MSZ_PERM_GENERAL_MANAGE_EMOTES', 0x00000004); define('MSZ_PERM_GENERAL_MANAGE_EMOTES', 0x00000004);
define('MSZ_PERM_GENERAL_MANAGE_CONFIG', 0x00000008); define('MSZ_PERM_GENERAL_MANAGE_CONFIG', 0x00000008);
define('MSZ_PERM_GENERAL_IS_TESTER', 0x00000010); //define('MSZ_PERM_GENERAL_IS_TESTER', 0x00000010); Has been unused for a while
//define('MSZ_PERM_GENERAL_MANAGE_BLACKLIST', 0x00000020); Blacklist has been removed for now to reduce overhead and because it was broken(?) //define('MSZ_PERM_GENERAL_MANAGE_BLACKLIST', 0x00000020); Blacklist has been removed for now to reduce overhead and because it was broken(?)
define('MSZ_PERM_GENERAL_MANAGE_TWITTER', 0x00000040); define('MSZ_PERM_GENERAL_MANAGE_TWITTER', 0x00000040);