Log message #4191276

# At Username Text
# Jun 29th 2019, 04:48 chrisshick While not directly related to cake, has anyone found a good pull based CD for PHP?
# Jun 28th 2019, 17:32 barry.chapman @daniel.upshaw this is geared towards making cake an IdP not a SP
# Jun 28th 2019, 17:22 daniel.upshaw Thanks @ndm... That's what I'm talking about, yes, and I agree it doesn't seem possible... With the Bake template pattern it is, but seems that it's not quite the same extending core Commands...... I like your idea with the classic extending, and just using a different name with other inheritance
# Jun 28th 2019, 16:45 ndm @daniel.upshaw Are you really talking about extending (as in inheriting an existing shell), or maybe more like decorating (as in adding functionality to an existing shell)? The latter isn't possible AFAICT, but classic extending surely is (like `ExtendedMigrationsShell extends \Migrations\Shell\MigrationsShell`). Gotta fly now, I can put together a small example later if you need one.
# Jun 28th 2019, 16:11 daniel.upshaw @barry.chapman I did try creating a plugin, and I can create Shell tasks and Console commands, but my goal is to extend an existing Core one
# Jun 28th 2019, 16:08 daniel.upshaw And could release a Cake 3 fork
# Jun 28th 2019, 16:08 daniel.upshaw Maybe just a few Cake3 updates
# Jun 28th 2019, 16:08 daniel.upshaw Seems to be only a few files
# Jun 28th 2019, 16:08 daniel.upshaw @barry.chapman I wonder what would happen if you dumped that `zl4bv/CakePHP-simpleSAMLphp-Plugin` plugin in there anyway
# Jun 28th 2019, 15:56 barry.chapman @daniel.upshaw yes that can be done. Create a plugin
# Jun 28th 2019, 15:51 barry.chapman i found something for cake 2.10, but it seems as though that is setting cake up as an idp
# Jun 28th 2019, 15:50 barry.chapman does anyone know if there is a plugin or -something- that will allow cake to use SAML as an auth provider?
# Jun 28th 2019, 15:50 barry.chapman allo
# Jun 28th 2019, 15:25 daniel.upshaw `bin/cake migrations migrate --custom-option`
# Jun 28th 2019, 15:25 daniel.upshaw Eg, add options/methods?
# 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.