Download the PHP package sherlockode/sonata-advanced-content-bundle without Composer
On this page you can find all versions of the php package sherlockode/sonata-advanced-content-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sherlockode/sonata-advanced-content-bundle
More information about sherlockode/sonata-advanced-content-bundle
Files in sherlockode/sonata-advanced-content-bundle
Package sonata-advanced-content-bundle
Short Description Sonata admin integration for SherlockodeAdvancedContentBundle
License MIT
Informations about the package sonata-advanced-content-bundle
SherlockodeSonataAdvancedContentBundle
Sonata Admin integration for SherlockodeAdvancedContentBundle
Installation
The best way to install this bundle is to rely on Composer:
Register the bundle in your application's kernel and make sure that this bundle is added after the AdvancedContentBundle
You will need to add our specific CSS and JS files to your application via webpack and Sonata configuration.
You can then add the following lines to your Sonata configuration:
Security
By default our admins are accessible by ROLE_SUPER_ADMIN. To configure your own role hierarchy, you can use the roles :
- ROLE_SHERLOCKODE_ADVANCED_CONTENT_ADMINCONTENT[PERMISSION] : access to Contents
- ROLE_SHERLOCKODE_ADVANCED_CONTENT_ADMIN_PAGETYPE[PERMISSION] : access to Page Types
- ROLE_SHERLOCKODE_ADVANCED_CONTENT_ADMINPAGE[PERMISSION] : access to Pages
For example, if you want to grant all permissions for ROLE_ADMIN, you can add :
All versions of sonata-advanced-content-bundle with dependencies
sherlockode/advanced-content-bundle Version ~0.6.0
sonata-project/admin-bundle Version 3.*
symfony/framework-bundle Version ^4.0 || ^5.0