#### Schedule

Every 03:00:00

#### Source Codes

`ocbc-ecoffice/scheduled_jobs/authorisation/run.sh`

#### Description

* File Dependencies:
    1. `/flash/octopus/GCBCRM/TerritoryList_${YESTERDAY}.csv` (TerritoryList)
    2. `/flash/octopus/GCBCRM/CustomerSegmentWR_${YESTERDAY}.csv` (CustomerSegment)
* File Dependencies, produced by OCBC Team, defines the permission mappings for document access control within their internal users of OCtopus
* From TerritoryList, updates `/flash/octopus/cache/permission_code_mapping.json`, which is a dependency for [Cache Company Data Job](/scheduled-jobs/feature-jobs/cache-company-data.html)
* Updates Squirro Items' “keywords” (e.g. company_name, permission_code, uid_permission_code), based on changes in File Dependencies
* For DR and PROD, this is configured in servers with HOSTNAME ending with “C” or “3”
