Skip to content

Commit

Permalink
Update EventObjectProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
manuxi authored Sep 13, 2022
1 parent 53713c1 commit b729b9d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Preview/EventObjectProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,11 @@ public function deserialize($serializedObject, $objectClass)
{
return unserialize($serializedObject);
}

public function getSecurityContext($id, $locale): ?string
{
$webspaceKey = $this->documentInspector->getWebspace($this->getObject($id, $locale));

return PageAdmin::getPageSecurityContext($webspaceKey);
}
}

0 comments on commit b729b9d

Please sign in to comment.