Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Releases: ZF-Commons/zfc-rbac

v2.1.1

20 Feb 13:33
2.1.1
Compare
Choose a tag to compare
  • Prevent multiple calls to the database when using ObjectManagerRoleRepository during the same request by using a local in-memory cache (#195)

v2.1.0

06 Feb 16:49
2.1.0
Compare
Choose a tag to compare
  • [Potential BC]: please read the UPGRADE guide
  • Dependency to RBAC library has been raised to 1.2
  • New PermissionInterface: the PermissionInterface from the RBAC library has been deprecated in favor of a new PermissionInterface in ZfcRbac.
  • Various doc fixes.

v2.0.0

17 Jan 18:06
2.0.0
Compare
Choose a tag to compare

No major bugs have been found during the beta! ZfcRbac v2 is officially released!

  • Doc fixes

v2.0.0-beta1

14 Jan 18:12
2.0.0-beta1
Compare
Choose a tag to compare
v2.0.0-beta1 Pre-release
Pre-release

ZfcRbac has been (again) completely refactored, thanks to a lot of users feedbacks, and is not backward compatible with version 1.0. This new version aims to fix design mistakes I've made on 1.0 (once again, sorry for that). Among other things:

  • Dependency to ZF2 RBAC component has been replaced by a ZF3 prototype that fixes a lot of things and is a lot faster and more flexible.
  • Permission loaders are gone. It was complicated and useless, because in RBAC, the roles already hold all the information about permissions.
  • A lot more... please read again the documentation, it has been completely updated to this new version!

v1.0.3

14 Dec 15:34
Compare
Choose a tag to compare
  • Fix a bug when assertions returned true (#120)

v1.0.2

10 Dec 09:31
Compare
Choose a tag to compare
  • Fixed a bug in the Zend developer toolbars when collecting role objects (#115).
  • Now always check if a role already has a permission before adding it to a role (#113)

v1.0.1

08 Dec 11:21
Compare
Choose a tag to compare
  • Fixed an issue where identity roles would not get properly converted to string (#111)

v1.0.0

07 Dec 18:53
Compare
Choose a tag to compare
  • Fix a bug that occurred when ObjectRepositoryPermissionProvider and guard were used together. Object manager tried to persist the auto-generated guard permission, which was not the expected behavior (#106)
  • An exception is now thrown instead of returning list of empty roles if the identity does not implement ZfcRbac\Identity\IdentityInterface (#110)

1.0.0-beta2

02 Dec 21:07
Compare
Choose a tag to compare
1.0.0-beta2 Pre-release
Pre-release
  • Remove the cache from RoleLoaderListener and PermissionLoaderListener. This introduced too many problems, and this feature is postponed to a future release.

1.0.0-beta1

29 Nov 15:43
Compare
Choose a tag to compare
1.0.0-beta1 Pre-release
Pre-release

This is the first beta for the new version of ZfcRbac. It is nearly 100% unit-tested and should be already quite stable.

  • ZfcRbac has been completely rewritten and IS NOT backward compatible with previous versions. Please refer to the official documentation.
  • [BC] PHP dependency has been raised to PHP 5.4 (because we need to go forward). People that need compatibility with PHP 5.3 can still use the 0.2 branch
  • [BC] Zend Framework 2 dependency has been raised to 2.2.