Skip to content

Commit

Permalink
Merge pull request #53 from Toflar/patch-1
Browse files Browse the repository at this point in the history
Permission compatibility with Contao 5
  • Loading branch information
m-vo authored Oct 4, 2023
2 parents 5a41757 + 6bf0325 commit 234edff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Group/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ private function addGroupField(bool $start): string
'htmlAttributes' => $this->htmlAttributes,
]
),
'exclude' => false, // Do not apply user permissions
]
);

Expand All @@ -460,6 +461,7 @@ private function addGroupElementField(bool $start, int $id): string
'id' => $id,
]
),
'exclude' => false, // Do not apply user permissions
]
);

Expand All @@ -476,6 +478,7 @@ private function addVirtualField(string $name, array $definition, int $id): stri
'eval' => [
'doNotSaveEmpty' => true,
],
'exclude' => false, // Do not apply user permissions
'sql' => null,
]
);
Expand Down

0 comments on commit 234edff

Please sign in to comment.