AllowEditInvariantFromNonDefault : Fix property write guard to use correct variant ID (closes #20250) (#20277)
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.
This commit is contained in:
committed by
Andy Butland
parent
e752828a24
commit
811cccf24f
@@ -115,7 +115,7 @@ export class UmbContentWorkspacePropertyElement extends UmbLitElement {
|
||||
this._workspaceContext.propertyWriteGuard.isPermittedForVariantAndProperty(
|
||||
propertyVariantId,
|
||||
this._propertyType,
|
||||
propertyVariantId,
|
||||
this._datasetVariantId,
|
||||
),
|
||||
(write) => {
|
||||
this._writeable = write;
|
||||
|
||||
Reference in New Issue
Block a user