Closed VincentLanglet closed 3 years ago
With these change
AccessRegistryInterface::getAccessMapping
could be deprecated/removed in next majorAbstractAdmin::getAccessMapping
could become protected and not finalprotected $accessMapping = [];
could be deprecated/removed in next major
Feature Request
When doing https://github.com/sonata-project/SonataAdminBundle/pull/7443, I saw that
history
,historyViewRevision
andhistoryCompareRevisions
was using theEDIT
permission.I was kinda surprise the role
ROLE_MYADMIN_HISTORY
didn't exist ; IMHO it should.It's because you have the right to edit some field of some entity that you have the right to see all the modification made by others people. And you can also have the right to see the history without the right to edit.
WDYT @sonata-project/contributors ?