sonata-project / SonataPageBundle

This bundle provides a Site and Page management through container and block services
https://docs.sonata-project.org/projects/SonataPageBundle
MIT License
219 stars 209 forks source link

Introduce setting to hide Block List from Page Admin #1602

Closed haivala closed 2 years ago

haivala commented 2 years ago

This forces users to use composer and they are not confused by the Block list

VincentLanglet commented 2 years ago

The current stable branch is 3.x. I assume you're talking about 4.x but it's not even clear in you one-line-issue. The more it's described, it's even better with screenshot and url, the more it will be solved.

haivala commented 2 years ago

As this is new feature request I thought it would be better to have new issue about it and not require it in 4.x release.

Basically to have setting sonata_page.hide_block_list_admin with boolean to hide Block list child admin from Page admin side menu .

This is would be nice to have not any way mandatory

haivala commented 2 years ago

2022-09-08_122943-area This is the side menu now, this setting would hide the Block list child admin

jordisala1991 commented 2 years ago

IMO, you can implement a Admin extension attached to page, that manipulates the tab menu, and removes that link.

I think we should not add more options to page-bundle configuration.