"Deployment failed. Modifying of CDMs is denied." error when deploying models from SME

Hi all,

I’m working with a workspace that uses CDMs. When I try to deploy the whole workspace or a CDM specifically using the deploy function in the SME, I get the error message: “Deployment failed. Modifying of CDMs is denied.” I have deployed CDMs using the SME before without error messages in previous projects and I remember this working before in this specific workspace (but maybe I’m mistaken). Is there a specific configuration that controls whether CDMs can be deployed via the SME? I don’t remember this being a general limitation but maybe I’m going insane.

I’m using 2024.06-ext3 specifically, if that makes a difference.

Best,
Lea

Heyho,

i think setting following property will fix your problem. We set it also in our PoC for enabling oru customer to modify their model during runtime. Dunno which drawbacks this property might have, maybe someone from a12 could answer it :slight_smile:

a12.dataservices.cdd.model.modification-after-initialization.enabled: true

Thank you, that worked like a charm! We only have model deployment enabled for dev envs, but if there are any drawbacks that’s always good to know.

Hi there,

I would like to highlight that this configuration should be used carefully and only if you are not using ABAC authorization. See the description of potential problems here: <INTERNAL_LINK>

If there are no repositories access/ABAC authorization, this configuration should work nice for you. In 2025.06 there will be no longer these problems and the configuration key will be removed and CDMs will be possible to update like any other model during runtime.

Thanks for the additional info. I will discuss it with the rest of the team but as we’re only using RBAC, I hope we’re in the clear :slight_smile:

You are :slight_smile: