diff --git a/src/DataIndex/Hydrator/DataObject/PermissionsHydrator.php b/src/DataIndex/Hydrator/DataObject/PermissionsHydrator.php index 421f5305..216119ce 100644 --- a/src/DataIndex/Hydrator/DataObject/PermissionsHydrator.php +++ b/src/DataIndex/Hydrator/DataObject/PermissionsHydrator.php @@ -28,7 +28,6 @@ public function hydrate(ObjectPermissions $permissions): DataObjectPermissions $permissions->isUnpublish(), $permissions->isLocalizedEdit(), $permissions->isLocalizedView(), - $permissions->isLayouts(), $permissions->isList(), $permissions->isView(), $permissions->isPublish(), diff --git a/src/DataObject/Schema/DataObjectPermissions.php b/src/DataObject/Schema/DataObjectPermissions.php index 5e575baa..7756e884 100644 --- a/src/DataObject/Schema/DataObjectPermissions.php +++ b/src/DataObject/Schema/DataObjectPermissions.php @@ -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, @@ -79,9 +77,4 @@ public function getLocalizedView(): ?string { return $this->localizedView; } - - public function getLayouts(): ?string - { - return $this->layouts; - } }