Add capability to toggle permission sync for specific users. (#11147)

This commit is contained in:
Werner
2021-02-09 22:58:42 +01:00
committed by GitHub
parent 59387c6e62
commit 4da5bdd6eb
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -213,6 +213,9 @@ var/list/forum_groupids_to_ranks = list()
if(isnull(user.ckey))
log_debug("AdminRanks: [user.forum_name] does not have a ckey linked - Ignoring")
return
if(user.psync_game_disabled)
log_debug("AdminRanks: [user.forum_name] has permsync-game disabled - Ignoring")
return
var/rights = 0
for (var/group_id in (user.forum_secondary_groups + user.forum_primary_group))