Upgrade to 1.2.6
- The column
defaultin tableuser_rolewas renamed tois_defaultto 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#setAuthorizeServicewere 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\RedirectionStrategyto redirect on unauthorized access
Following changes are required to upgrade:
- The
BjyAuthorize\Provider\Role\Doctrineprovider was removed, use theBjyAuthorize\Provider\Role\ObjectRepositoryProvideras described in the documentation instead - The
BjyAuthorize\Provider\Identity\AuthenticationDoctrineEntityprovider was removed, use the simplerBjyAuthorize\Provider\Identity\AuthenticationIdentityProviderinstead - The
BjyAuthorize\Provider\Identity\ZfcUserDoctrineprovider was removed, use the simplerBjyAuthorize\Provider\Identity\AuthenticationIdentityProviderinstead - Following methods were removed from the
BjyAuthorize\Provider\Identity\ProviderInterface:getDefaultRolesetDefaultRole
Users who cannot upgrade now should lock their version of BjyAuthorize to 1.1.*.