cron-eu/acls-from-hell 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cron-eu/acls-from-hell

最新稳定版本:2.0.0

Composer 安装命令:

composer require cron-eu/acls-from-hell

包简介

ACLs from files

README 文档

README

This TYPO3 extension allows to put the values of the following fields of table be_groups into external yaml files:

  • non_exclude_fields
  • explicit_allowdeny
  • pagetypes_select
  • tables_select
  • tables_modify
  • groupMods
  • availableWidgets
  • file_permissions

How does it work?

When calculating the "permissions" for the current BE user (see BackendUserAuthentication->fetchGroups()) a post-process hook will resolve file references for each BE group to external yaml files and add their contents to the comma separated fields mentioned above.

Important hint

Keep in mind: this is not an override mechanism but an addition of comma separated values!

So be sure to clear the values of the above mentioned fields when selecting an external file.

This might help:

UPDATE be_groups SET non_exclude_fields=NULL,explicit_allowdeny=NULL,pagetypes_select=NULL,tables_select=NULL,tables_modify=NULL,groupMods=NULL,availableWidgets=NULL,file_permissions=NULL WHERE tx_aclsfromhell_file <> '';

Export existing ACLs

To export the ACLs of an existing group to a yaml file call this:

bin/typo3 acls_from_hell:export <group> [--dry-run] [--verbose]

This command:

  • creates a new yaml file within the config/acls/ folder containing the ACL fields of the given group
  • sets tx_aclsfromhell_file to that new file
  • empties the values of the above mentioned fields

统计信息

  • 总下载量: 2.81k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固