trendyminds/isolate
Composer 安装命令:
composer require trendyminds/isolate
包简介
Restrict your Craft CMS users on a per-entry basis
README 文档
README
Craft 5+ Plans
With all the new slide-out functionality in Craft, and the entrification plan for Craft 5+ we aren't planning to update Isolate to be Craft 5+ compatible. There's just too many scenarios to account for (including things like multisite, as well).
Would love to something comparable baked into Craft natively at some point, but I'm sure the Pixel and Tonic folks have their hands full with all other planned items!
What is Isolate?
Craft allows you to restrict users to specific content types, but you cannot scope users to only specific entries in those content types. Isolate is a user management tool to manage users on a per-entry basis.
What happens when I install it?
Isolate does three things after installation:
- It creates a new Isolate database table to track specific entries a user should have access to
- It provides a user administration section so you can easily track and assign entries a user can have access to
- It provides a restricted entries area to any users who are restricted or "isolated" from certain entries
What happens when I uninstall it?
Uninstalling Isolate simply deletes the database table that tracks the entries a user is isolated from. At this point your users will have access to all entries within the sections they are assigned—the native Craft behavior.
How are users restricted?
Restriction is handled two ways:
- A user that is isolated receives a custom, restricted dashboard. This ensures they only see the entries they can edit.
- When a user attempts to access an entry edit page Isolate compares this ID to the list of IDs the user has access to. This ensures the user is safely restricted from the standard Entries dashboard and any entries they've been restricted from.
Installation
Install Isolate from the Craft CMS Plugin Store!
Attribution
trendyminds/isolate 适用场景与选型建议
trendyminds/isolate 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 26.93k 次下载、GitHub Stars 达 16, 最近一次更新时间为 2019 年 02 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cms」 「permissions」 「Craft」 「craftcms」 「isolate」 「craft-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 trendyminds/isolate 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 trendyminds/isolate 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 trendyminds/isolate 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Expand, collapse, change the status of, or delete multiple blocks in a Matrix field simultaneously.
Laravel Multiauth package
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
User permissions for MoonShine
Supercharged text field validation.
统计信息
- 总下载量: 26.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-22


