mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-06 23:42:56 +00:00
Adds Mods/Dev perms to ticket permission checks (#5683)
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user