Upgrade to 1.2.6
- The column
default
in tableuser_role
was renamed tois_default
to avoid problems with the colliding SQL keywordDEFAULT
#113 #104 - Methods
BjyAuthorize\Controller\Plugin\IsAllowed#getAuthorizeService
,BjyAuthorize\Controller\Plugin\IsAllowed#setAuthorizeService
,BjyAuthorize\View\Helper\IsAllowed#getAuthorizeService
,BjyAuthorize\View\Helper\IsAllowed#setAuthorizeService
were removed #127 #94
Upgrade to 1.2.0
- Zend Developer Tools integration
- Better Doctrine ORM support
- Compatibility with any Doctrine ObjectManager (MongoDB ODM, PHPCR ODM, OrientDB ODM, etc.)
- The new
BjyAuthorize\View\RedirectionStrategy
to redirect on unauthorized access
Following changes are required to upgrade:
- The
BjyAuthorize\Provider\Role\Doctrine
provider was removed, use theBjyAuthorize\Provider\Role\ObjectRepositoryProvider
as described in the documentation instead - The
BjyAuthorize\Provider\Identity\AuthenticationDoctrineEntity
provider was removed, use the simplerBjyAuthorize\Provider\Identity\AuthenticationIdentityProvider
instead - The
BjyAuthorize\Provider\Identity\ZfcUserDoctrine
provider was removed, use the simplerBjyAuthorize\Provider\Identity\AuthenticationIdentityProvider
instead - Following methods were removed from the
BjyAuthorize\Provider\Identity\ProviderInterface
:getDefaultRole
setDefaultRole
Users who cannot upgrade now should lock their version of BjyAuthorize to 1.1.*
.