LPS-46209 Add support for emulation of some permissions (which are not supported by the external repositories) from the dl-repository-shared layer.

I have created a Map to make the "emulated" permissions clearer and easier to find/modify.
LPS-46209 SF
SYNC-1243 Fix SF
SYNC-1243 Regen (for previous changes to SyncContext)