Log message #4183574

# At Username Text
# Apr 17th 2019, 14:27 neon1024 That’d be a question for the core team I’d guess
# Apr 17th 2019, 14:27 neon1024 At some point perhaps
# Apr 17th 2019, 14:27 neon1024 It might be deprecated in 4.x though
# Apr 17th 2019, 14:27 neon1024 I don’t believe so
# Apr 17th 2019, 14:26 waspinator yeah, that one seemed a bit more straightforward. I thought it was going away with cake 4 though.
# Apr 17th 2019, 14:25 neon1024 I use the older AuthComponent
# Apr 17th 2019, 14:25 waspinator what do you use instead?
# Apr 17th 2019, 14:24 neon1024 Maybe see if there are test cases?
# Apr 17th 2019, 14:23 neon1024 Not too sure, I haven’t used the plugin in a long while
# Apr 17th 2019, 14:23 neon1024 Perhaps you didn’t do this?
# Apr 17th 2019, 14:23 neon1024 > and using the identityDecorator middleware option
# Apr 17th 2019, 14:22 waspinator again mostly copy-pasted from https://book.cakephp.org/authorization/1.1/en/middleware.html#identity-decorator
# Apr 17th 2019, 14:22 waspinator I thought I did that. This is my User entity https://gist.github.com/waspinator/646012748f747a59e422f9ed9df62e98
# Apr 17th 2019, 14:18 neon1024 PHP Storm should be able to do this for you automatically if you’re using that IDE :slightly_smiling_face:
# Apr 17th 2019, 14:17 neon1024 Or you did and didn’t implement the interface methods
# Apr 17th 2019, 14:17 neon1024 `class User extends Entity implements IdentityInterface`
# Apr 17th 2019, 14:17 neon1024 Perhaps you didn’t implement the interface?
# Apr 17th 2019, 14:16 neon1024 So it might be that you’re missing a configured type of Identity class?
# Apr 17th 2019, 14:16 neon1024 As it’s a `set*()` method it’s probably looking to have config set
# Apr 17th 2019, 14:16 neon1024 Well if it’s `Authentication\Identity::setAuthorization()` it would be in the `Identity` class
# Apr 17th 2019, 14:13 waspinator more or less copy-pasting from https://book.cakephp.org/authorization/1.1/en/middleware.html
# Apr 17th 2019, 14:12 waspinator I'm in the base application ``` $authorization = new AuthorizationMiddleware($this, [ 'identityDecorator' => function ($auth, $user) { return $user->setAuthorization($auth); }, ]); ```
# Apr 17th 2019, 14:10 neon1024 Are you in a controller? Do you have a missing trait perhaps?
# Apr 17th 2019, 14:06 waspinator I'm trying to get started with the official authentication/authorization system, and I must have missed a step in the guide, but I'm getting a ` Call to undefined method Authentication\Identity::setAuthorization() ` error. any idea what I might have done wrong?
# Apr 17th 2019, 13:58 unclezoot afternoon, does 'cascade' work on belongsToMany relationships? I want to delete specific linked rows but I see the manual specifies only hasOne and hasMany?
# Apr 17th 2019, 13:24 admad no
# Apr 17th 2019, 13:24 xavier981 do you have an date for the v4 release ?
# Apr 17th 2019, 12:35 spriz Those logos with versions should be updated >D
# Apr 17th 2019, 12:31 admad keep the issues coming boys/gals :slightly_smiling_face:
# Apr 17th 2019, 12:07 rochasmarcelo Yeah, that's what I think
# Apr 17th 2019, 12:04 neon1024 :thumbsup:
# Apr 17th 2019, 12:04 neon1024 Perhaps it just got forgotten about?
# Apr 17th 2019, 12:03 neon1024 @rochasmarcelo Sounds like that would be valuable comment on the ticket :slightly_smiling_face:
# Apr 17th 2019, 11:58 rochasmarcelo The migration guide says that Email was renamed to email: "Templates have been moved from src/Template/ to templates/ folder on app and plugin root. Special templates folder like Cell, Element, Email and Plugin have be renamed to lower case cell, element, email and plugin respectively."
# Apr 17th 2019, 11:54 xavier981 @neon1024 I comment your tikcet on github
# Apr 17th 2019, 11:50 neon1024 @xavier981 I put a comment in about Email also for you, https://github.com/cakephp/cakephp/issues/13129
# Apr 17th 2019, 11:48 megan sure, no prob! :)
# Apr 17th 2019, 11:48 neon1024 Super, thanks @megan
# Apr 17th 2019, 11:48 megan @neon1024 https://cakephp.org/pages/trademark :slightly_smiling_face:
# Apr 17th 2019, 11:48 steinkel https://cakephp.org/pages/rebranding
# Apr 17th 2019, 11:47 neon1024 Ok