承接 georgringer/inverted-usergroup-access 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Example

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-11-11