Migration Guide
April 30, 2019 ยท View on GitHub
1.x to 2.x
- Change namespace of Rules to
CakeDC\Auth\Rbac\Rules, for exampleCakeDC\Auth\Rbac\Rules\Owner
3.x to 4.x
In this version we're using the cakephp/authentication and cakephp/authorization.
Please check Authentication and Authorization sections.
-
Added Authentication features with social, two-factor, form and cookie authenticators
-
Added Authorization features
-
Added social identifier
-
Added social middleware
-
Added one-time password middleware
-
Added rbac policy
-
Added superuser policy
-
Added social namespace compatible with OAuth1 and OAuth2 with many providers
- Amazon
- Tumblr
-
Removed ApiKeyAuthenticate in favor of cakephp/authentication TokenAuthenticator
-
Removed RememberMeAuthenticate.php in favor of CookieAuthenticator
-
Removed SimpleRbacAuthorize.php if favor of RbacPolicy with Request Authorization Middleware
-
Removed SuperuserAuthorize.php in favor of SuperuserPolicy
4.x to 5.x
- Required cakephp 4
- Renamed \CakeDC\Auth\Test\BaseTraitTest to \CakeDC\Auth\Test\BaseTestTrait