Adds a permission to only view runtimes (#13072)

* Adds a permission to only view runtimes

* It would appear I am half asleep

* Almost failed my own CI tests there. good job AA
This commit is contained in:
AffectedArc07
2020-03-25 16:15:18 -06:00
committed by GitHub
parent 23490a52bf
commit 8fdc0a6245
6 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ GLOBAL_PROTECT(AdminProcCaller)
set name = "View Runtimes"
set desc = "Open the Runtime Viewer"
if(!check_rights(R_DEBUG))
if(!check_rights(R_DEBUG|R_VIEWRUNTIMES))
return
GLOB.error_cache.showTo(usr)