drwh0286 / be-permissions Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
To give the editor a hint, that she/he is editing a code managed group on production, a red flash message should be shown with opening the record for editing.
Is there any information yet when this extension will be available for TYPO3 v12?
Greetings
(1/1) UnexpectedValueException
DirectoryIterator::__construct(/app/config/be_groups/): Failed to open directory: No such file or directory
in /app/public/typo3conf/ext/be_permissions/Classes/Repository/BeGroupConfigurationRepository.php line 97
}
public function loadAll(string $configPath): BeGroupConfigurationCollection
{
$directoryIterator = new DirectoryIterator($configPath . '/be_groups/');
$beGroupConfigurations = new BeGroupConfigurationCollection();
/** @var DirectoryIterator $directory */
at DirectoryIterator->__construct('/app/config/be_groups/')
in /app/public/typo3conf/ext/be_permissions/Classes/Repository/BeGroupConfigurationRepository.php line 97
}
public function loadAll(string $configPath): BeGroupConfigurationCollection
{
$directoryIterator = new DirectoryIterator($configPath . '/be_groups/');
$beGroupConfigurations = new BeGroupConfigurationCollection();
/** @var DirectoryIterator $directory */
at SebastianHofer\BePermissions\Repository\BeGroupConfigurationRepository->loadAll('/app/config')
in /app/public/typo3conf/ext/be_permissions/Classes/Controller/Backend/BeGroupsCompareModuleController.php line 107
public function indexAction(ServerRequestInterface $request): void
{
$beGroupsRaw = $this->beGroupRepository->findAllCodeManagedRaw();
$beGroups = $this->beGroupRepository->findAllCodeManaged();
$beGroupConfigurations = $this->beGroupConfigurationRepository->loadAll(Environment::getConfigPath());
$overviewCollection = GeneralUtility::makeInstance(BeGroupOverviewCollection::class, $beGroups, $beGroupConfigurations);
$this->view->assign('beGroups', $beGroupsRaw);
at SebastianHofer\BePermissions\Controller\Backend\BeGroupsCompareModuleController->indexAction(object(TYPO3\CMS\Core\Http\ServerRequest))
in /app/public/typo3conf/ext/be_permissions/Classes/Controller/Backend/BeGroupsCompareModuleController.php line 84
$this->pageRenderer->addCssInlineBlock('diffStyles', DiffHelper::getStyleSheet(), true);
$this->pageRenderer->addCssFile('EXT:be_permissions/Resources/Public/Css/BeGroupCompare.css');
$this->getLanguageService()->includeLLFile('EXT:be_permissions/Resources/Private/Language/locallang_mod.xlf');
$this->initializeView($actionName);
$result = $this->{$actionName . 'Action'}($request);
if ($result instanceof ResponseInterface) {
return $result;
}
at SebastianHofer\BePermissions\Controller\Backend\BeGroupsCompareModuleController->handleRequest(object(TYPO3\CMS\Core\Http\ServerRequest))
in /app/public/typo3/sysext/backend/Classes/Http/RouteDispatcher.php line 91
}
$targetIdentifier = $route->getOption('target');
$target = $this->getCallableFromTarget($targetIdentifier);
$arguments = [$request];
return $target(...$arguments);
}
/**
* Wrapper method for static form protection utility
Typed property SebastianHofer\BePermissions\Collection\BeGroupOverviewCollection::$itemsByIdentifier must not be accessed before initialization
in /app/public/typo3conf/ext/be_permissions/Classes/Collection/BeGroupOverviewCollection.php line 47
$this->itemsByIdentifier[(string)$beGroupsConfiguration->identifier()]->addBeGroupConfiguration($beGroupsConfiguration);
}
foreach ($this->itemsByIdentifier as $item) {
$this->items[] = $item;
}
}
at SebastianHofer\BePermissions\Collection\BeGroupOverviewCollection->__construct(object(SebastianHofer\BePermissions\Collection\BeGroupCollection), object(SebastianHofer\BePermissions\Collection\BeGroupConfigurationCollection))
in /app/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3205
return self::$container->get($className);
}
// Create new instance and call constructor with parameters
$instance = new $finalClassName(...$constructorArguments);
// Register new singleton instance, but only if it is not a known PSR-11 container service
if ($instance instanceof SingletonInterface && !(self::$container !== null && self::$container->has($className))) {
self::$singletonInstances[$finalClassName] = $instance;
}
at TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SebastianHofer\BePermissions\Collection\BeGroupOverviewCollection', object(SebastianHofer\BePermissions\Collection\BeGroupCollection), object(SebastianHofer\BePermissions\Collection\BeGroupConfigurationCollection))
in /app/public/typo3conf/ext/be_permissions/Classes/Controller/Backend/BeGroupsCompareModuleController.php line 109
$beGroupsRaw = $this->beGroupRepository->findAllCodeManagedRaw();
$beGroups = $this->beGroupRepository->findAllCodeManaged();
$beGroupConfigurations = $this->beGroupConfigurationRepository->loadAll(Environment::getConfigPath());
$overviewCollection = GeneralUtility::makeInstance(BeGroupOverviewCollection::class, $beGroups, $beGroupConfigurations);
$this->view->assign('beGroups', $beGroupsRaw);
$this->view->assign('overviewCollection', $overviewCollection);
}
at SebastianHofer\BePermissions\Controller\Backend\BeGroupsCompareModuleController->indexAction(object(TYPO3\CMS\Core\Http\ServerRequest))
in /app/public/typo3conf/ext/be_permissions/Classes/Controller/Backend/BeGroupsCompareModuleController.php line 84
$this->pageRenderer->addCssInlineBlock('diffStyles', DiffHelper::getStyleSheet(), true);
$this->pageRenderer->addCssFile('EXT:be_permissions/Resources/Public/Css/BeGroupCompare.css');
$this->getLanguageService()->includeLLFile('EXT:be_permissions/Resources/Private/Language/locallang_mod.xlf');
$this->initializeView($actionName);
$result = $this->{$actionName . 'Action'}($request);
if ($result instanceof ResponseInterface) {
return $result;
}
the command should:
code_managed_group
on all exsisting Groupsdeploy_processing
depending on argument.yml
To prevent editing groups on production, which will be overruled by deployment, the whole group record should be not editable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.