From 972777fd9467acd9b91c6bbf0918e5b833e3474c Mon Sep 17 00:00:00 2001 From: Neerti Date: Tue, 16 Oct 2018 18:27:22 -0400 Subject: [PATCH] Adds Mods/Dev perms to ticket permission checks (#5683) --- code/modules/admin/topic.dm | 2 +- code/modules/admin/verbs/adminhelp.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 3b8bb9c13a..4b0a1122e9 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -11,7 +11,7 @@ return if(href_list["ahelp"]) - if(!check_rights(R_ADMIN)) + if(!check_rights(R_ADMIN|R_MOD|R_DEBUG)) return var/ahelp_ref = href_list["ahelp"] diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 13607dcb76..612878d5b0 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -503,7 +503,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) set name = "Show Ticket List" set category = "Admin" - if(!check_rights(R_ADMIN, TRUE)) + if(!check_rights(R_ADMIN|R_MOD|R_DEBUG, TRUE)) return var/browse_to