Log message #4191251

# At Username Text
# Jun 28th 2019, 13:57 ricksaccous i mean
# Jun 28th 2019, 13:57 ricksaccous but you can handle policies at the request level
# Jun 28th 2019, 13:57 admad it's flexible enough to allow you to implement your own db based ACL implementation
# Jun 28th 2019, 13:57 ricksaccous you'll have to implement acl yourself if you use them
# Jun 28th 2019, 13:56 admad those are framework agnostic packages
# Jun 28th 2019, 13:56 admad no
# Jun 28th 2019, 13:56 val Does it support ACL>?
# Jun 28th 2019, 13:55 val That doesn't look like a plugin
# Jun 28th 2019, 13:54 admad https://github.com/cakephp/authorization/ AuthComponent is also deprecated in 4.x in favor of https://github.com/cakephp/authentication
# Jun 28th 2019, 13:53 val what repo?
# Jun 28th 2019, 13:51 admad @val btw it would be ill advised to use to use the Acl plugin long term. We have the new authorization plugin now and the Acl plugin is unlikely to be maintained
# Jun 28th 2019, 13:46 val Hmmm... maybe that's an option
# Jun 28th 2019, 13:43 admad yes.. that's how that plugin came into being. Pulling out relevant classes and updating for 3.x
# Jun 28th 2019, 13:43 val @admad do you mean packing cake 2.x core classes into a plugin?
# Jun 28th 2019, 13:41 admad @val why are you seeing it as a case of downloading the 3.x Acl plugin instead of simply packing the related classes of 2.x into a separate plugin?
# Jun 28th 2019, 13:38 val I mean is there any technical reason that would make it impossible to downgrade CakePHP Acl Plugin? The idea is to make it easier to migrate to 3.x by using the plugin in 2.x app instead of build-in behavior.
# Jun 28th 2019, 13:36 neon1024 Maybe you’re looking for this? https://book.cakephp.org/2.0/en/core-libraries/behaviors/acl.html
# Jun 28th 2019, 13:36 neon1024 Ah cool, well there you are! TIL
# Jun 28th 2019, 13:36 val https://github.com/cakephp/acl
# Jun 28th 2019, 13:35 neon1024 I thought it was the other way around? I thought the Cake 2 ACL plugin wasn’t upgraded to Cake 3
# Jun 28th 2019, 13:35 val Hi again, is there a good reason why CakePHP Acl Plugin could not be downgraded to 2.x version?
# Jun 28th 2019, 13:28 neon1024 @rquadling You’re the fourth highest contributor!
# Jun 28th 2019, 13:28 neon1024 @rquadling I think the core team are looking after it, but I’m not aware of any specific lead developer
# Jun 28th 2019, 12:53 madbbb https://book.cakephp.org/3.0/en/orm/database-basics.html#query-logging
# Jun 28th 2019, 12:53 val Hi, how can I get the log of last 200 queries in Cake 3.x (like in Cake 2.x) without DebugKit?
# Jun 28th 2019, 11:51 rquadling Hello all. Is anyone taking the lead on cakephp/phinx?
# Jun 28th 2019, 11:51 rquadling Hello all. Is anyone taking the lead on cakephp/phinx?
# Jun 28th 2019, 11:24 admad @neon1024 you really need ask? :slightly_smiling_face:
# Jun 28th 2019, 10:51 jeremy.payne Figured out I had to use `addNested` instead of `addNestedMany`.
# Jun 28th 2019, 10:49 madbbb @steinkel please give me some time. the app is so massive.
# Jun 28th 2019, 10:42 steinkel @madbbb could you gist code somewhere I can download and check here?
# Jun 28th 2019, 10:41 neon1024 In 3.7.7
# Jun 28th 2019, 10:41 neon1024 Worth noting that Cells still have `$this->request` instead of `$this->getRequest()`
# Jun 28th 2019, 10:40 neon1024 Ah, you use the viewBuilder :)
# Jun 28th 2019, 10:39 madbbb @steinkel I didn't mention this setting in my config at all
# Jun 28th 2019, 10:39 neon1024 I’d like to conditionally switch templates in a single cell method
# Jun 28th 2019, 10:37 neon1024 When referring to cell templates for the purposes of `$this->render()` what is the correct path string?
# Jun 28th 2019, 10:37 slackebot figure out what. Any idea?
# Jun 28th 2019, 10:37 slackebot $metaValidator ); return $this; }``` My `POST` data looks like this (`dd($this->request->getData())`) ``` array:2 [ "saveCount" => 0, "meta" => array:2 [ "state" => "draft", "effort" => 0 ] ]``` Calling the validator like this in the Controller: ``` $validator = new ArticleValidator(); dd($validator->errors($this->request->getData())); ``` From the error, it's having issues with the `meta` array but I can't
# Jun 28th 2019, 10:37 jeremy.payne Hi again, I'm getting a `"_nested" => "The provided value is invalid"` error and I'm not sure why. I have the following validator class constructor ```public function __construct() { $this->requirePresence([ 'saveCount' ]); $metaValidator = new Validator(); $metaValidator->requirePresence([ 'state', ]); $this->addNestedMany( 'meta',
# Jun 28th 2019, 10:32 steinkel did you configure Auth to kick in before that via `checkAuthIn`