Profile access is granted when holder is created

This commit is contained in:
Jordan Brown
2017-09-28 21:51:53 -05:00
committed by KorPhaeron
parent ec9a69543f
commit be38c4b212
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -34,6 +34,8 @@ GLOBAL_PROTECT(href_token)
admin_signature = "Nanotrasen Officer #[rand(0,9)][rand(0,9)][rand(0,9)]"
href_token = GenerateToken()
GLOB.admin_datums[ckey] = src
if(R.rights & R_DEBUG) //grant profile access
world.SetConfig("APP/admin", ckey, "role=admin")
/proc/GenerateToken()
. = ""