mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Screenshot: http://www.kamletos.si/permissions%20panel.PNG git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4878 316c924e-a436-60f5-8080-3fe189b3f50e
12 lines
381 B
Plaintext
12 lines
381 B
Plaintext
|
|
|
|
|
|
//Before this proc is called, the holder variable must already be set, with the proper rank, level and permissions set.
|
|
//This proc also DOES NOT CLEAR EXISTING ADMIN VERBS
|
|
|
|
/client/proc/handle_permission_verbs()
|
|
if(!holder || !holder.rank || !holder.sql_permissions)
|
|
return
|
|
|
|
if(holder.sql_permissions & PERMISSIONS)
|
|
verbs += /client/proc/edit_admin_permissions |