symfony-cmf/sonata-phpcr-admin-integration-bundle

Make Admin extensions available without enabling each admin

ElectricMaxxx opened this issue · 5 comments

I would like to challange the current "enabling strategy". Currently we enable each admin domain (core, content, ...) by configuration. Doing so its admin services are enabled/visible and its extensions. As the admins are for example purpose only, but the extensions are really helpful for custom admins, i would like to suggest to enable all extensions by default.

dbu commented

i can get behind that idea. so extensions are always loaded if their respective bundle is available, but the actual admins must be enabled as before so that they don't just show up in the admin interface?

So the extensions are available even when their bundles arn't "activated" in our configuration here?

dbu commented

that was your proposal, right? i think its fine. its just extensions that become available. while the actual admins will show up on the default dashboard, which might not be wanted, as you say.

I want to also use this bundle to use the admin extensions without the admin we propose as an example here.

So i want to use the core extension (publish workflow) without doing a

sonata_admin:
    bundles:
         core: ~

(btw: core does not have own admins, extensions only). I want them available when core-bundle and sonata-admin-integration is available.

dbu commented

cool, then i think we agree. this totally makes sense to me.