Log message #4189174

# At Username Text
# Jun 12th 2019, 11:01 skor hey everyone! im downloading a file in cake with guzzle. file is generated by another container in the stack, the “other” container is inaccessible via the public network, its only accessible for my frontend. so, i would like to forward that file directly from the controller with the response, i tried withFile but that checks for a local file, and i would like to avoid saving it, then forwarding it, then having to delete it is there a way?
# Jun 12th 2019, 10:04 neon1024 Thanks for the clarification @edgaras.jan :thumbsup:
# Jun 12th 2019, 10:03 leon ok, thank you!
# Jun 12th 2019, 10:03 edgaras.jan csrf is just random data, security component is hash of fields
# Jun 12th 2019, 09:59 neon1024 Well, the locked fields, obviously if you unlock fields they are omitted I think
# Jun 12th 2019, 09:59 neon1024 I believe so, as the token is a hash of the fields
# Jun 12th 2019, 09:57 leon Is the from helper connected to csrf token, so that he knows which input was generated by cake?
# Jun 12th 2019, 09:52 neon1024 Then I can access that library class in helpers, controllers, models, etc
# Jun 12th 2019, 09:52 neon1024 I’ve written a basic permissions library class which does all the permissions tests and configures the permissions by role setup
# Jun 12th 2019, 09:51 neon1024 I have to implement all this soon, but I haven’t got to it just yet
# Jun 12th 2019, 09:51 neon1024 Then in the helper match the permissions from the users session data
# Jun 12th 2019, 09:51 neon1024 `if ($this->Permissions->has('seeFinance'){ echo $this->Form->control('money'); }`
# Jun 12th 2019, 09:50 neon1024 I would just add a condition in the template, probably using a helper
# Jun 12th 2019, 09:34 leon Hello guys, what is a good way, to disable the access to a field/column (or more than one) for a user/group? Is there already a standard way to realize this? (cake 3.7)
# Jun 12th 2019, 08:40 neon1024 Hopefully the tournament isn’t won by the team who managed to play the most complete matches!
# Jun 12th 2019, 08:39 neon1024 It is unseasonably rainy here
# Jun 12th 2019, 08:38 admad yes :slightly_smiling_face:
# Jun 12th 2019, 08:38 neon1024 @admad Oh? Did I miss some news? Is this about there being no reserve days?
# Jun 12th 2019, 08:37 noel European Central Bank?
# Jun 12th 2019, 08:36 admad @neon1024 Morning and screw ECB :slightly_smiling_face:
# Jun 12th 2019, 08:31 neon1024 Morning all :wave:
# Jun 11th 2019, 22:30 ricksaccous hmmmm
# Jun 11th 2019, 22:30 ricksaccous is it possible to change the identifier configuration on the fly
# Jun 11th 2019, 22:03 ricksaccous i mean the issue not the PR
# Jun 11th 2019, 22:03 ricksaccous for posterity
# Jun 11th 2019, 22:03 ricksaccous https://github.com/cakephp/authentication/issues/214
# Jun 11th 2019, 22:03 ricksaccous wow
# Jun 11th 2019, 22:03 ricksaccous nah saw the pr and was able to fix it
# Jun 11th 2019, 21:56 ricksaccous but not sure yet
# Jun 11th 2019, 21:56 ricksaccous for form Authenticator
# Jun 11th 2019, 21:56 ricksaccous i think the authenticator loginUrl might be bugged
# Jun 11th 2019, 21:28 ricksaccous hmmm
# Jun 11th 2019, 21:28 ricksaccous can i do it from the AuthenticationService
# Jun 11th 2019, 21:28 ricksaccous of an authenticator
# Jun 11th 2019, 21:28 ricksaccous how do i set the identifier
# Jun 11th 2019, 19:52 challgren Sorry gotta jump on a conference call be back in 45 minutes but look at the ORM docs on book.cakephp.org
# Jun 11th 2019, 19:52 rightscoreanalysis but it will be a rightJoin
# Jun 11th 2019, 19:52 rightscoreanalysis I can get a similar result with a contain and a condition
# Jun 11th 2019, 19:51 challgren I believe its whatever you have your relationship setup as
# Jun 11th 2019, 19:51 challgren If you have your relationships setup
# Jun 11th 2019, 19:51 rightscoreanalysis contain is rightJoin isn't it?