Remove client-side admin permission lock guard
This commit is contained in:
@@ -2825,11 +2825,6 @@ function handleAdminRolePermissionListModeInput(code: string, key: string): void
|
||||
audio.sfxUiBlip();
|
||||
return;
|
||||
}
|
||||
if (role.name === 'admin') {
|
||||
updateStatus('Admin role permissions are locked on.');
|
||||
audio.sfxUiCancel();
|
||||
return;
|
||||
}
|
||||
const nextPermissions = new Set(role.permissions);
|
||||
if (nextPermissions.has(value)) {
|
||||
nextPermissions.delete(value);
|
||||
|
||||
Reference in New Issue
Block a user