arfaram/ezplatform-drafts-tools
Access to all users drafts
Maintainers
Package info
github.com/arfaram/ezplatform-drafts-tools
Type:ezplatform-bundle
pkg:composer/arfaram/ezplatform-drafts-tools
Requires
- php: ^7.3
- ext-json: *
- ezsystems/ezplatform-admin-ui: ^2.0
- ezsystems/ezplatform-kernel: ^1.0
Requires (Dev)
- ezsystems/ez-support-tools: ^2.0
- ezsystems/ezplatform-code-style: ^0.1.0
- friendsofphp/php-cs-fixer: ^2.16.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
GPL-2.0 becd9bf68a9ba5134dc6fbd145966096c5503fa5
- Ramzi Arfaoui <ramzi_arfa.woop@hotmail.de>
README
👁 GitHub tag (latest SemVer)
👁 Downloads
👁 License
Drafts Tools Bundle
This bundle allows you to have access to all user drafts by adding a new API layer. eZPlatform is designed to get only access to drafts for current logged in user over the public API. The Rest API operating on top is requiring additional user token to have access though.
Requirement
- eZPlatform by Ibexa 3.x +
- PHP 7.3+
Features
- Access to private drafts in the everyone dashboard block
- All draft tab contains information about future draft location(s)
- Custom policy to access the new tab
Installation
composer require arfaram/ezplatform-drafts-tools
- Activate the Bundle in bundles.php
return
[
//...
EzPlatform\DraftsToolsBundle\EzPlatformDraftsToolsBundle::class => ['all' => true],
Usage
User must have below both policies to access the All drafts Tab:
- Content / Versionread
- Drafts Tools / All Dashboard Tab
Default pagination value ist set to 25. You can amend this value from the services.yaml e.g:
parameters:
pagination.dashboard_all_drafts_limit: XX
Future Features
- Publish drafts from the Dashboard
- Pagination value in User settings(individual) or add new policies attribute(Global per User group)
- Preview draft link for external user
- Rest API endpoint
Contributions are welcome
Screenshots
eZ Platform 3.2
👁 eZPlatform by Ibexa Drafts Tools Bundle
👁 eZPlatform by Ibexa Drafts Tools Bundle
