Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
TYPO3: ['12', '13']
TYPO3: ['12', '13', '14']

steps:
- name: Checkout
Expand All @@ -27,15 +27,20 @@ jobs:
run: composer validate

- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: dependencies-composer-${{ hashFiles('composer.json') }}

- name: Install composer dependencies TYPO3 14
if: matrix.TYPO3 == '14'
run: |
composer install --no-progress --no-interaction

- name: Install composer dependencies TYPO3 13
if: matrix.TYPO3 == '13'
run: |
composer install --no-progress --no-interaction
composer require typo3/cms-core:^13.4 --no-progress --no-interaction --dev -W

- name: Install composer dependencies TYPO3 12
if: matrix.TYPO3 == '12'
Expand Down
4 changes: 1 addition & 3 deletions Classes/AvailablePermissionSets.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@

namespace B13\PermissionSets;

use TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems;

/**
* Functionality to load all available permission sets for selection of be_groups.permissions.sets
*/
class AvailablePermissionSets
{
public function __construct(protected PermissionSetRegistry $registry) {}

public function backendGroupSelector(array &$params, TcaSelectItems $parentObject)
public function backendGroupSelector(array &$params): void
{
foreach ($this->registry->all() as $identifier => $permissionSet) {
$params['items'][] = ['label' => $permissionSet->label, 'value' => $identifier];
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": ["typo3", "permissions", "acl", "deployment"],
"license": "GPL-2.0-or-later",
"require": {
"typo3/cms-core": "^12.4 || ^13.4"
"typo3/cms-core": "^12.4 || ^13.4 || ^14.3"
},
"extra": {
"typo3/cms": {
Expand All @@ -21,10 +21,10 @@
}
},
"require-dev": {
"typo3/cms-dashboard": "^12.4 || ^13.4",
"saschaegerer/phpstan-typo3": "^1.8",
"typo3/cms-dashboard": "^12.4 || ^13.4 || ^14.3",
"saschaegerer/phpstan-typo3": "^1.8 || ^2.0",
"typo3/coding-standards": "^0.8.0",
"typo3/testing-framework": "^8.0",
"typo3/testing-framework": "^8.0 || ^9.0",
"b13/permission-sets-examples": "1.0.0"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'version' => '1.0.0',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-13.99.99',
'typo3' => '12.4.0-14.99.99',
],
'conflicts' => [],
'suggests' => [],
Expand Down
Loading