# |
Mar 13th 2019, 09:41 |
neon1024 |
New standards will be released, fashions will change, new packages will emerge |
# |
Mar 13th 2019, 09:41 |
neon1024 |
;) |
# |
Mar 13th 2019, 09:41 |
neon1024 |
That’s why I have a job |
# |
Mar 13th 2019, 09:40 |
neon1024 |
I don’t think software will stay in the same state for more than ayear |
# |
Mar 13th 2019, 09:40 |
neon1024 |
I don’t think software will stay in the same state for 10 years |
# |
Mar 13th 2019, 09:40 |
acosonic |
Hm... |
# |
Mar 13th 2019, 09:40 |
neon1024 |
I’d think people will upgrade to Cake 4, and some plugins will not be updated |
# |
Mar 13th 2019, 09:40 |
neon1024 |
My gut says, no, of course they won’t be available |
# |
Mar 13th 2019, 09:39 |
neon1024 |
Nobody knows the answer to that question. |
# |
Mar 13th 2019, 09:23 |
acosonic |
My fear is situation 10y from now and I still need to use it, will those libs be available, or? |
# |
Mar 13th 2019, 09:23 |
acosonic |
https://youtu.be/dbgZ15hoL4Y |
# |
Mar 13th 2019, 09:23 |
acosonic |
Hi, so I am testing some cakephp 3 "boilerplate" with composer... Is it supposed to install so many libraries? |
# |
Mar 13th 2019, 09:06 |
roel |
@dereuromark Thank you for your response, I'll look into that :slightly_smiling_face: |
# |
Mar 13th 2019, 09:03 |
dereuromark |
@roel you could check if https://github.com/dereuromark/cakephp-translate could be adjusted to your needs. You could also have a separate (non-admin) frontend for those tables for your users, adjusted what they are allowed to do, and you then could merge/approve based on the input you get from them. |
# |
Mar 13th 2019, 08:52 |
neon1024 |
Morning all |
# |
Mar 13th 2019, 08:52 |
roel |
Hi everyone, Currently I am creating user added translations. Does anyone have experience with this, how I can solve this the "right" way? Create one big table that has all the translations and let it point to other tables and rows? Thanks in advance. |
# |
Mar 13th 2019, 08:50 |
josbeir |
probably not db related :slightly_smiling_face: |
# |
Mar 13th 2019, 08:49 |
josbeir |
check your php-fpm / apache error log |
# |
Mar 13th 2019, 08:14 |
ahmedmuaz0152 |
hopefully to gain some help here in slack community |
# |
Mar 13th 2019, 08:14 |
ahmedmuaz0152 |
based on my error log of cakephp it shows like the connection is being closed |
# |
Mar 13th 2019, 08:14 |
ahmedmuaz0152 |
resulted to same error |
# |
Mar 13th 2019, 08:13 |
ahmedmuaz0152 |
i have tried to use utf8mb4_unicode_ci and also utf8_general_ci |
# |
Mar 13th 2019, 08:13 |
ahmedmuaz0152 |
Hi there, anoyone used croogo 3.0.5 ? i am struggling with an issue while installing it..after setupDatabase it goes to internal server error |
# |
Mar 13th 2019, 03:25 |
challgren |
@stephenzgalbraith https://github.com/CakeDC/users is also helpful it has RABC https://github.com/CakeDC/auth/blob/master/Docs/Documentation/Rbac.md |
# |
Mar 13th 2019, 01:47 |
admad |
https://github.com/cakephp/authentication |
# |
Mar 13th 2019, 01:46 |
admad |
@stephenzgalbraith https://github.com/cakephp/authorization |
# |
Mar 12th 2019, 23:50 |
stephenzgalbraith |
Thank you, I'll take a look at that and see if I can use it or adapt what I have :slightly_smiling_face: |
# |
Mar 12th 2019, 23:39 |
dereuromark |
For me roles and permissions are two different things to keep things simple. roles are the basic auth to actions (e.g. using https://github.com/dereuromark/cakephp-tinyauth ), and permissions can then be sth on top to either display certain parts on the page, or allow certain things inside those actions. That made it posssible for me to not having to use the acl beast plugin^^ |
# |
Mar 12th 2019, 23:35 |
slackebot |
for different roles and permissions such as hasAllPermissions([...]) or hasRole() that can be made available across my application beyond just controller authorization. For example, making a custom menu depending on the permissions they have. I had originally separated the logic into a Component, but now realize this can't be or shouldn't be accessed in a Cell. Any help or guidance would be appreciated. |
# |
Mar 12th 2019, 23:35 |
stephenzgalbraith |
Hi all, fairly new to CakePHP and enjoying it so far. I am at a loss though how to go about my own way to authorize users to different controllers for the website I'm building. Basically, users can have multiple roles that each have their own permissions, and then can also have custom permissions. I know the logic to merge all the various permissions to create one set, but I am confused where I should be building the logic to check |
# |
Mar 12th 2019, 21:36 |
ricksaccous |
nevermind |
# |
Mar 12th 2019, 21:36 |
ricksaccous |
i figured out a workaround |
# |
Mar 12th 2019, 21:20 |
ricksaccous |
when i'm using addNested |
# |
Mar 12th 2019, 21:19 |
ricksaccous |
in validation |
# |
Mar 12th 2019, 21:19 |
ricksaccous |
is it possible to grab the larger context |
# |
Mar 12th 2019, 18:59 |
dereuromark |
Just needs to get shipped ;) |
# |
Mar 12th 2019, 18:30 |
ricksaccous |
if you wanted the status id of the first agreement it would be $agreements[0]->status_id |
# |
Mar 12th 2019, 18:30 |
ricksaccous |
not an entity itself |
# |
Mar 12th 2019, 18:30 |
ricksaccous |
agreements is an array of entities |
# |
Mar 12th 2019, 18:29 |
ricksaccous |
there are multiple agreements |
# |
Mar 12th 2019, 18:29 |
ricksaccous |
yeah that makes sense |