From 4f687cc1521806314f4b21fa61160bb4b11ec662 Mon Sep 17 00:00:00 2001 From: Charlie Nolan Date: Tue, 5 Aug 2025 09:27:57 -0700 Subject: [PATCH] Drop `Allow Browser Inspect` from R_MAINTAINER to R_DEBUG (#29944) --- code/modules/admin/admin_verbs.dm | 2 +- code/modules/admin/verbs/debug.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 12e0eef7dcc..767a9d62484 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -189,6 +189,7 @@ GLOBAL_LIST_INIT(admin_verbs_debug, list( /client/proc/debug_atom_init, /client/proc/debug_bloom, /client/proc/cmd_mass_screenshot, + /client/proc/allow_browser_inspect, )) GLOBAL_LIST_INIT(admin_verbs_possess, list( /proc/possess, @@ -257,7 +258,6 @@ GLOBAL_LIST_INIT(admin_verbs_maintainer, list( /client/proc/vv_by_ref, // This allows you to lookup **ANYTHING** in the server memory by spamming refs. Locked for security. /client/proc/cinematic, // This will break everyone's screens in the round. Dont use this for adminbus. /client/proc/throw_runtime, // Do I even need to explain why this is locked? - /client/proc/allow_browser_inspect, // XSS prevention )) GLOBAL_LIST_INIT(view_runtimes_verbs, list( /client/proc/view_runtimes, diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index b41c4535933..222124060cd 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -888,7 +888,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention) set name = "Allow Browser Inspect" set desc = "Allow browser debugging via inspect" - if(!check_rights(R_MAINTAINER) || !isclient(src)) + if(!check_rights(R_DEBUG) || !isclient(src)) return if(byond_version < 516)