tv2regionerne/statamic-safeguard
Composer 安装命令:
composer require tv2regionerne/statamic-safeguard
包简介
README 文档
README
Statamic SafeGuard is an essential add-on for horizontally scaled Statamic CMS,
designed to enhance production environment stability by restricting write operations
and managing user permissions to prevent unintended changes.
Features
Add's SafeGuard prevents configured permissions to be assigned for selected environments.
The super role is also removed for all users, except for those in the whitelist.
Important
The addon requires users to be stored in Eloquent.
The addon can also be used to prevent end customers to grant them self administrative permissions even with full permissions to e.g. roles.
The addon have the ability to set read only permissions to the files.
Please notice that this feature is experimental and should only be performed in relation to a deployment og CI build.
How to Install
Run the following command from your project root:
composer require tv2regionerne/statamic-safeguard
Publish the config
php artisan vendor:publish --tag statamic-safeguard-config
How to Use
Update the config config/statamic-safeguard.php.
The safeGuard is already preconfigured for production and staging environment.
The config already have a preconfigured set of permission to remove in those environments.
If you need super access, even if you are in a restricted environment, add your e-mail to super array in the config.
Caution
Experimental!
Run the command php artisan safeguard:disk to update the filesystem to readonly.
Please read and update the config. Make sure to backup your files before experimenting with this feature.
tv2regionerne/statamic-safeguard 适用场景与选型建议
tv2regionerne/statamic-safeguard 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13.62k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 01 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 tv2regionerne/statamic-safeguard 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tv2regionerne/statamic-safeguard 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 13.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-01-12