georgringer/inverted-usergroup-access
Composer 安装命令:
composer require georgringer/inverted-usergroup-access
包简介
关键字:
README 文档
README
Heavily work in progress
This extension provides the possibility to negate the usergroup permissions in records.
Usage
Use composer req georgringer/inverted-usergroup-access to install this extension.
Define the tables you want to use the negation in the Extension's settings.
Providing the TCA
To use this in custom tables except tt_content and pages, you need to provide the TCA yourself:
<?php $columns = [ 'fe_group_negate' => [ 'label' => 'LLL:EXT:inverted_usergroup_access/Resources/Private/Language/locallang.xlf:field.fe_group_negate', 'description' => 'LLL:EXT:inverted_usergroup_access/Resources/Private/Language/locallang.xlf:field.fe_group_negate.description', 'config' => [ 'type' => 'check', 'renderType' => 'checkboxToggle', ] ] ]; $yourTableName = 'tx_your_table'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns($yourTableName, $columns); // if you got a palette called `access`, you can add it in the palette \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'access', '--linebreak--,fe_group_negate', 'after:fe_group'); // or add it directly to the list of fields \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes($yourTableName, 'fe_group_negate', '', 'after:fe_group');
Thanks to
Special thanks to OTH Amberg-Weiden for their generous support and sponsorship ❤️ Their contribution made this project possible and helped create an environment where innovative ideas could grow.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-11-11
