Skip to content

Commit

Permalink
IBX-7959: Create content permission regression with section limitation
Browse files Browse the repository at this point in the history
Fix issue IBX-7959
  • Loading branch information
yvh committed Mar 15, 2024
1 parent 7ed8eb2 commit a1ee95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Permission/LimitationResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getContentCreateLimitations(Location $parentLocation): LookupLim
$contentInfo = $parentLocation->getContentInfo();
$contentType = $contentInfo->getContentType();
$contentCreateStruct = $this->contentService->newContentCreateStruct($contentType, $contentInfo->getMainLanguageCode());
$contentCreateStruct->sectionId = $contentInfo->getSection();
$contentCreateStruct->sectionId = $contentInfo->sectionId;
$locationCreateStruct = $this->locationService->newLocationCreateStruct($parentLocation->id);

$versionBuilder = new VersionBuilder();
Expand Down

0 comments on commit a1ee95c

Please sign in to comment.