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.
- eZPlatform by Ibexa 3.x +
- PHP 7.3+
- 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
composer require arfaram/ezplatform-drafts-tools
- Activate the Bundle in bundles.php
return
[
//...
EzPlatform\DraftsToolsBundle\EzPlatformDraftsToolsBundle::class => ['all' => true],
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
- 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