Skip to content

Commit

Permalink
task: remove special custom layout permissions (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig authored Jan 23, 2025
1 parent f9e236b commit 758f67d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/DataIndex/Hydrator/DataObject/PermissionsHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public function hydrate(ObjectPermissions $permissions): DataObjectPermissions
$permissions->isUnpublish(),
$permissions->isLocalizedEdit(),
$permissions->isLocalizedView(),
$permissions->isLayouts(),
$permissions->isList(),
$permissions->isView(),
$permissions->isPublish(),
Expand Down
7 changes: 0 additions & 7 deletions src/DataObject/Schema/DataObjectPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ public function __construct(
private ?string $localizedEdit = null,
#[Property(description: 'Localized View', type: 'string', example: 'default')]
private ?string $localizedView = null,
#[Property(description: 'Layouts', type: 'string', example: 'default')]
private ?string $layouts = null,
private bool $list = true,
private bool $view = true,
private bool $publish = true,
Expand Down Expand Up @@ -79,9 +77,4 @@ public function getLocalizedView(): ?string
{
return $this->localizedView;
}

public function getLayouts(): ?string
{
return $this->layouts;
}
}

0 comments on commit 758f67d

Please sign in to comment.