Drop Allow Browser Inspect from R_MAINTAINER to R_DEBUG (#29944)

This commit is contained in:
Charlie Nolan
2025-08-05 16:27:57 +00:00
committed by GitHub
parent 58c8de46db
commit 4f687cc152
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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)