@umbraco-cms/backoffice 17.3.4 → 17.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,13 +195,9 @@ export class UmbBlockWorkspaceContext extends UmbSubmittableWorkspaceContextBase
195
195
  variantId: this.#variantId.getValue(),
196
196
  };
197
197
  this.readOnlyGuard?.addRule(rule);
198
- this.content.propertyWriteGuard.addRule({ unique, permitted: false });
199
- this.settings.propertyWriteGuard.addRule({ unique, permitted: false });
200
198
  }
201
199
  else {
202
200
  this.readOnlyGuard?.removeRule(unique);
203
- this.content.propertyWriteGuard.removeRule(unique);
204
- this.settings.propertyWriteGuard.removeRule(unique);
205
201
  }
206
202
  }, 'observeIsReadOnly');
207
203
  this.observe(this.content.contentTypeId, (contentTypeId) => {
@@ -21,10 +21,6 @@ export const manifests = [
21
21
  alias: 'Umb.Condition.BlockWorkspaceIsExposed',
22
22
  match: false,
23
23
  },
24
- {
25
- alias: 'Umb.Condition.BlockWorkspaceIsReadOnly',
26
- match: false,
27
- },
28
24
  ],
29
25
  },
30
26
  {
@@ -46,10 +42,6 @@ export const manifests = [
46
42
  {
47
43
  alias: 'Umb.Condition.BlockWorkspaceIsExposed',
48
44
  },
49
- {
50
- alias: 'Umb.Condition.BlockWorkspaceIsReadOnly',
51
- match: false,
52
- },
53
45
  ],
54
46
  },
55
47
  {
@@ -364,8 +364,6 @@ let UmbBlockGridEntryElement = class UmbBlockGridEntryElement extends UmbLitElem
364
364
  `;
365
365
  }
366
366
  #renderEditAction() {
367
- if (this._isReadOnly)
368
- return nothing;
369
367
  return html `
370
368
  ${when(this._showContentEdit && this._workspaceEditContentPath, () => html `
371
369
  <uui-button
@@ -389,8 +387,6 @@ let UmbBlockGridEntryElement = class UmbBlockGridEntryElement extends UmbLitElem
389
387
  `;
390
388
  }
391
389
  #renderEditSettingsAction() {
392
- if (this._isReadOnly)
393
- return nothing;
394
390
  return html `
395
391
  ${this._hasSettings && this._workspaceEditSettingsPath
396
392
  ? html `
@@ -288,8 +288,6 @@ let UmbBlockListEntryElement = class UmbBlockListEntryElement extends UmbLitElem
288
288
  `;
289
289
  }
290
290
  #renderEditContentAction() {
291
- if (this._isReadOnly)
292
- return nothing;
293
291
  return this._showContentEdit && this._workspaceEditContentPath
294
292
  ? html `<uui-button
295
293
  label="edit"
@@ -312,8 +310,6 @@ let UmbBlockListEntryElement = class UmbBlockListEntryElement extends UmbLitElem
312
310
  : nothing;
313
311
  }
314
312
  #renderEditSettingsAction() {
315
- if (this._isReadOnly)
316
- return nothing;
317
313
  return html `
318
314
  ${this._hasSettings && this._workspaceEditSettingsPath
319
315
  ? html `<uui-button
@@ -230,8 +230,6 @@ let UmbBlockRteEntryElement = class UmbBlockRteEntryElement extends UmbLitElemen
230
230
  .config=${this._blockViewProps.config}></umb-ref-rte-block>`;
231
231
  }
232
232
  #renderEditAction() {
233
- if (this._isReadOnly)
234
- return nothing;
235
233
  return this._showContentEdit && this._workspaceEditContentPath
236
234
  ? html `<uui-button
237
235
  label="edit"
@@ -253,8 +251,6 @@ let UmbBlockRteEntryElement = class UmbBlockRteEntryElement extends UmbLitElemen
253
251
  : nothing;
254
252
  }
255
253
  #renderEditSettingsAction() {
256
- if (this._isReadOnly)
257
- return nothing;
258
254
  return html `
259
255
  ${this._hasSettings && this._workspaceEditSettingsPath
260
256
  ? html `<uui-button
@@ -280,8 +280,6 @@ let UmbBlockSingleEntryElement = class UmbBlockSingleEntryElement extends UmbLit
280
280
  : nothing;
281
281
  }
282
282
  #renderEditContentAction() {
283
- if (this._isReadOnly)
284
- return nothing;
285
283
  return this._showContentEdit && this._workspaceEditContentPath
286
284
  ? html `<uui-button
287
285
  label="edit"
@@ -303,8 +301,6 @@ let UmbBlockSingleEntryElement = class UmbBlockSingleEntryElement extends UmbLit
303
301
  : nothing;
304
302
  }
305
303
  #renderEditSettingsAction() {
306
- if (this._isReadOnly)
307
- return nothing;
308
304
  return html `
309
305
  ${this._hasSettings && this._workspaceEditSettingsPath
310
306
  ? html `<uui-button