Log message #4193477

# At Username Text
# Jul 16th 2019, 13:47 neon1024 I created my own RoleAuthorize class and did it in there
# Jul 16th 2019, 13:43 VarunAgw I am thinking of adding _setRole() method in the model and then check for auth there. Not sure if it's the best solution.
# Jul 16th 2019, 13:41 VarunAgw I have a field "role" in Users table which is default to "user". I want only people with "admin" role to be able to assign role to others. What is the best way to achieve this.
# Jul 16th 2019, 13:41 varun I have a field "role" in Users table which is default to "user". I want only people with "admin" role to be able to assign role to others. What is the best way to achieve this.
# Jul 16th 2019, 13:03 neon1024 Perhaps I should upgrade. Thanks for checking
# Jul 16th 2019, 13:03 neon1024 Ah 3.8.1
# Jul 16th 2019, 13:03 neon1024 @graziel I didn’t think 3.8 had been released yet
# Jul 16th 2019, 12:49 graziel @huynhvuthienloc just ask question if anyone knows answer he probably answer
# Jul 16th 2019, 12:27 nk-sonu https://udaptive.s3.amazonaws.com/test.xlsm
# Jul 16th 2019, 12:27 nk-sonu hi using this https://github.com/sters/cakephp3-aws-s3-datasource plugin i uploaded object in AWS S3 , but with objecturl when i am accessing its giving " Access Denied".
# Jul 16th 2019, 12:24 huynhvuthienloc Thank you so much
# Jul 16th 2019, 12:24 huynhvuthienloc Anyone free?
# Jul 16th 2019, 12:24 huynhvuthienloc I got a problem with my code
# Jul 16th 2019, 12:24 huynhvuthienloc hello
# Jul 16th 2019, 12:19 dereuromark might have been initial one
# Jul 16th 2019, 12:19 dereuromark current 3.8
# Jul 16th 2019, 12:19 dereuromark btw: bin/cake is super slow there, like 7 seconds to display
# Jul 16th 2019, 12:19 dereuromark i will update
# Jul 16th 2019, 12:16 admad i haven't, but looks like an issue due to old version of ssl lib
# Jul 16th 2019, 12:13 dereuromark Does anyone face this locally with 3.8+? "Cake\Core\Exception\Exception: fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed fopen(): Failed to enable crypto" when trying to request sth from https via client?
# Jul 16th 2019, 12:12 graziel @neon1024 did quick check on php 7.3.5 dockerized and cake 3.8.1 and woks ok for me
# Jul 16th 2019, 11:29 neon1024 Unfortunately it doesn’t generate any errors, so the logs are not written to
# Jul 16th 2019, 11:23 aivaras.godliauskas you can check cli debug/error log
# Jul 16th 2019, 11:22 neon1024 None, it just quits
# Jul 16th 2019, 11:22 neon1024 Hmm, I wonder what has upset it
# Jul 16th 2019, 11:22 aivaras.godliauskas any errors on console?
# Jul 16th 2019, 11:21 graziel 7.1.5
# Jul 16th 2019, 11:21 neon1024 Are you on PHP 7.3?
# Jul 16th 2019, 11:20 graziel works ok for me
# Jul 16th 2019, 11:20 neon1024 `3.7.9`
# Jul 16th 2019, 11:20 graziel @neon1024 which cake version?
# Jul 16th 2019, 11:17 neon1024 I mean, I can use `php -a`, but I thought that the console worked for basic php stuff also
# Jul 16th 2019, 11:16 neon1024 ..and it’ll just quit immediately to command line
# Jul 16th 2019, 11:16 neon1024 Then try something like `echo 'Hello';`
# Jul 16th 2019, 11:16 neon1024 `bin/cake console`
# Jul 16th 2019, 11:16 neon1024 Does anyone elses console not work any more?
# Jul 16th 2019, 11:02 neon1024 Looks like it’ll be random each time the fixture is inserted though
# Jul 16th 2019, 11:01 neon1024 Oh, cool
# Jul 16th 2019, 10:58 admad @neon1024 https://github.com/gourmet/faker
# Jul 16th 2019, 10:45 neon1024 I guess it’s hard to know the right field to match faker
# Jul 16th 2019, 10:44 neon1024 I should do that :slightly_smiling_face: