Repository policies for CDMs not working in latest version

In the former version of A12, you could write repository policies like this

 {
    "name": "...",
    "description": "...",
    "target": "#resource == 'Example-CDM-DM'",
    "templates": ["..."]
    ]
  }

and the retrieval of Example-CDM-DM composed document models would work as expected based on what was specified in templates.

In 2025.06, such target expression is never resolved because it seems #resource is never a composed document model.

Is it still possible to do something like this?

HI @m.stepniewski ,

Repository access is not built bottom up. You must specify repository access for all DMs that belong to the CDM, and DS will inject those automatically. It is not possible to define CDM repository access anymore. For further information, please see migration instructions for version 2025.06 on getA12.com