Giving more permissions to trusted/staff users.

This commit is contained in:
Scott Idem
2025-06-26 10:16:22 -04:00
parent 55dc2ab48c
commit b34f4bb3ce
2 changed files with 21 additions and 12 deletions

View File

@@ -924,12 +924,14 @@ export function sync_config__event_pres_mgmt(
log_lvl?: number
}
) {
log_lvl = 1;
if (log_lvl) {
console.log(`*** sync_config__event_pres_mgmt() *** pres_mgmt_cfg_remote:`, pres_mgmt_cfg_remote);
}
// Deal with things that can not be overridden first:
// Labels:
pres_mgmt_cfg_local.label__person_external_id = pres_mgmt_cfg_remote?.label__person_external_id ?? 'External ID';
pres_mgmt_cfg_local.label__presenter_external_id = pres_mgmt_cfg_remote?.label__presenter_external_id ?? 'External ID';
pres_mgmt_cfg_local.label__session_poc_type = pres_mgmt_cfg_remote?.label__session_poc_type ?? 'poc';