arfaram/ezplatform-drafts-tools

访问所有用户的草稿

安装: 18

依赖: 0

建议者: 0

安全: 0

星标: 2

关注者: 2

分支: 1

开放问题: 0

类型:ezplatform-bundle

v1.0.5 2021-01-25 21:38 UTC

This package is auto-updated.

Last update: 2024-09-26 05:31:50 UTC


README

GitHub tag (latest SemVer) Downloads License

草稿工具包

此工具包通过添加新的API层允许您访问所有用户草稿。eZPlatform旨在通过公共API仅获取当前登录用户的草稿访问权限。但在此之上运行的Rest API需要额外的用户令牌才能访问。

要求

  • Ibexa的eZPlatform 3.x+
  • PHP 7.3+

功能

  • 在所有人仪表板块中访问私有草稿
  • 所有草稿标签包含关于未来草稿位置的信息
  • 自定义策略以访问新标签

安装

composer require arfaram/ezplatform-drafts-tools
  • 在bundles.php中激活Bundle
    return
    [
        //...
        EzPlatform\DraftsToolsBundle\EzPlatformDraftsToolsBundle::class => ['all' => true],

用法

用户必须具有以下两个策略才能访问所有草稿标签

  • 内容 / 版本读取
  • 草稿工具 / 所有仪表板标签

默认分页值设置为25。您可以从services.yaml中修改此值,例如

parameters:
    pagination.dashboard_all_drafts_limit: XX

未来功能

  • 从仪表板发布草稿
  • 用户设置(个体)或添加新策略属性(全局按用户组)中的分页值
  • 为外部用户提供草稿预览链接
  • Rest API端点

欢迎贡献

截图

eZ Platform 3.2

eZPlatform by Ibexa Drafts Tools Bundle

eZPlatform by Ibexa Drafts Tools Bundle

eZ Platform v3.0和3.1

eZPlatform by Ibexa Drafts Tools Bundle

eZPlatform by Ibexa Drafts Tools Bundle