mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Drop Allow Browser Inspect from R_MAINTAINER to R_DEBUG (#29944)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user