mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Role Access List Rename (#22231)
renames the basic role access list to "job_access" to make its purpose clearer and removes the unused expanded access list since we only use the former. it should also help prevent confusion when adding access to roles. server config should be updated.
This commit is contained in:
@@ -511,7 +511,7 @@
|
||||
possible_access["== Default BSTech =="] = get_all_accesses() + get_all_centcom_access() + get_all_syndicate_access()
|
||||
for(var/job in subtypesof(/datum/job))
|
||||
var/datum/job/J = new job
|
||||
possible_access[J.title] = J.access
|
||||
possible_access[J.title] = J.job_access
|
||||
var/chosen_access = input(usr, "Which access do you want your ID to have?", "ID Access") as null|anything in possible_access
|
||||
if(!chosen_access)
|
||||
return
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
|
||||
for(var/job_type in module.specialized_access_types)
|
||||
var/datum/job/job = new job_type()
|
||||
id_card.access |= job.access
|
||||
id_card.access |= job.job_access
|
||||
|
||||
to_chat(src, SPAN_NOTICE("Access set to the department the role belongs to."))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user