# |
Jun 28th 2019, 15:25 |
daniel.upshaw |
Any way to extend a Core console command? |
# |
Jun 28th 2019, 15:09 |
admad |
@val you wouldn't be able to use their middlewares but should be able to get around that |
# |
Jun 28th 2019, 14:16 |
val |
we use php 7.1 |
# |
Jun 28th 2019, 14:14 |
neon1024 |
I guess the only stumbling block might be minimum php version in composer |
# |
Jun 28th 2019, 14:04 |
val |
Okay, it's better to ask then to assume. |
# |
Jun 28th 2019, 14:03 |
neon1024 |
The answer to your question is in your question ;) |
# |
Jun 28th 2019, 14:02 |
val |
If they are framework agnostic does it mean that they can be used in cake 2.x app? |
# |
Jun 28th 2019, 13:58 |
ricksaccous |
which means it won't be hard to handle ACL |
# |
Jun 28th 2019, 13:57 |
ricksaccous |
you can handle authorization at the request level |
# |
Jun 28th 2019, 13:57 |
ricksaccous |
i worded that wrong |
# |
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? |