sonata-project/SonataPageBundle — pull request #412 by meyerbaptiste (2014-10-30 11:15:17+00:00)
Title: [Security] Update permissions for the compose actions

About `$this->admin->isGranted('EDIT')` I think the edit permission is open to question because it depends if we consider that the compose actions are part of the page edition (in my opinion I think so).

But one thing is sure about the former permission, I think @plouc wanted to check the list permission for the block admin and not for the page admin like `composeContainerShowAction()` otherwise it does not make sense.