Log message #4183564

# At Username Text
# 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
# Apr 17th 2019, 11:47 admad @neon1024 `Flash` should be lowercased ideally, open a ticket :slightly_smiling_face:
# Apr 17th 2019, 11:47 neon1024 Anyone rememeber where the Cakephp resources are? LIke the baked with cake flag etc?
# Apr 17th 2019, 11:35 neon1024 Yeah, I think so too :slightly_smiling_face:
# Apr 17th 2019, 11:33 xavier981 but the change .ctp to .php it's good choice
# Apr 17th 2019, 11:33 xavier981 yes i can try lol
# Apr 17th 2019, 11:32 neon1024 I’m sure you could change it if you wanted to, and setup the configuration. Perhaps it’s worth posting an RFC ticket about to discuss with the community?
# Apr 17th 2019, 11:31 neon1024 Yeah, it does seem odd to me too
# Apr 17th 2019, 11:30 xavier981 @neon1024 may be...it's disturbing uppercase and lower cas in the same folder...
# Apr 17th 2019, 11:29 neon1024 @xavier981 Perhaps Email is the same as Flash, because there is an Email class
# Apr 17th 2019, 11:23 neon1024 Because of the FlashComponent?