feat: align role assignment logic with myep-team
This commit is contained in:
+29
-26
@@ -30,30 +30,33 @@ parameters:
|
||||
10321389: 'Reisen-Alert Stubaital'
|
||||
10554990: 'Reisen-Alert Ski & Boarderweek'
|
||||
|
||||
# Hausleitung hotel codes and their labels, assignable to users in /admin/user.
|
||||
# Mirrors the "Hausleitung {CODE}" CRM selections published by BusProNet.
|
||||
hotel_codes:
|
||||
SSL: 'SSL'
|
||||
SST: 'SST'
|
||||
MVK: 'MVK'
|
||||
ASB: 'ASB'
|
||||
LPJ: 'LPJ'
|
||||
DKS: 'DKS'
|
||||
DGS: 'DGS'
|
||||
DPW: 'DPW'
|
||||
DKI: 'DKI'
|
||||
DWW: 'DWW'
|
||||
PMV: 'PMV'
|
||||
ASG: 'ASG'
|
||||
ASC: 'ASC'
|
||||
SBW: 'SBW'
|
||||
UCH: 'UCH'
|
||||
SZO: 'SZO'
|
||||
PCJ: 'PCJ'
|
||||
KHH: 'KHH'
|
||||
SVS: 'SVS'
|
||||
SHM: 'SHM'
|
||||
AGR: 'AGR'
|
||||
# BusProNet "Hausleitung {CODE}" CRM selections, by selection id.
|
||||
# DEPLOYMENT-CRITICAL: roles and hotel codes are synced on every login, so an id missing
|
||||
# here does not merely fail to nominate a Hausleitung — it revokes the role and the hotel
|
||||
# code from everyone holding it, one login at a time, with manual re-approval per user.
|
||||
# Entries for houses that are not in use yet stay commented out.
|
||||
bpn_crm_house_manager_ids:
|
||||
1299: 'SSL'
|
||||
1300: 'SST'
|
||||
1301: 'MVK'
|
||||
# 1302: 'ASB'
|
||||
1303: 'LPJ'
|
||||
1304: 'DKS'
|
||||
1305: 'DGS'
|
||||
1306: 'DPW'
|
||||
1307: 'DKI'
|
||||
1308: 'DWW'
|
||||
1309: 'PMV'
|
||||
# 1352: 'ASG'
|
||||
1371: 'ASC'
|
||||
1373: 'PCJ'
|
||||
1374: 'SBW'
|
||||
# 1375: 'UCH'
|
||||
# 1376: 'SZO'
|
||||
1377: 'KHH'
|
||||
1459: 'SVS'
|
||||
1461: 'SHM'
|
||||
1462: 'AGR'
|
||||
|
||||
# MailJet contact metadata names for name synchronization
|
||||
mailjet_contact_metadata_fields:
|
||||
@@ -278,9 +281,9 @@ services:
|
||||
arguments:
|
||||
$mailjetLists: '%mailjet_lists%'
|
||||
|
||||
App\Form\Admin\UserType:
|
||||
App\BusProNet\XmlParser\CrmAttributesResponseParser:
|
||||
arguments:
|
||||
$hotelCodes: '%hotel_codes%'
|
||||
$houseManagerIds: '%bpn_crm_house_manager_ids%'
|
||||
|
||||
App\Service\DomainConfigProvider:
|
||||
arguments:
|
||||
|
||||
Reference in New Issue
Block a user