From 4f7d687c1ef9771a3aa2bc1fe15e447f65eabbdd Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 25 Sep 2025 22:13:21 +0200 Subject: [PATCH] Fix property write guard to use correct variant ID Replaces the use of propertyVariantId with _datasetVariantId in the property write guard check to ensure permissions are evaluated for the correct variant. --- .../global-components/content-workspace-property.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/content/content/global-components/content-workspace-property.element.ts b/src/Umbraco.Web.UI.Client/src/packages/content/content/global-components/content-workspace-property.element.ts index f033663468bf..a0b586e78d5e 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/content/content/global-components/content-workspace-property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/content/content/global-components/content-workspace-property.element.ts @@ -115,7 +115,7 @@ export class UmbContentWorkspacePropertyElement extends UmbLitElement { this._workspaceContext.propertyWriteGuard.isPermittedForVariantAndProperty( propertyVariantId, this._propertyType, - propertyVariantId, + this._datasetVariantId, ), (write) => { this._writeable = write;