# |
Mar 15th 2018, 09:22 |
neon1024 |
As you can see in the link I provided |
# |
Mar 15th 2018, 09:21 |
neon1024 |
@saeideng They are enforced by the interface |
# |
Mar 15th 2018, 09:14 |
nisseni |
Trying again: Is there a way to see which controller is denying access with the Tools.Tiny plugin? I have the correct settings in my acl file and if I clear the cake cache I get access. When I come back later I have no access again. Can't figure out the problem... It works fine on my local server but not on the test server. |
# |
Mar 15th 2018, 09:13 |
saeideng |
class Query extends DatabaseQuery implements JsonSerializable, QueryInterface |
# |
Mar 15th 2018, 09:11 |
saeideng |
query class |
# |
Mar 15th 2018, 09:11 |
saeideng |
these methods implemented in a class |
# |
Mar 15th 2018, 09:10 |
saeideng |
why you need these methods? |
# |
Mar 15th 2018, 09:10 |
saeideng |
hi |
# |
Mar 15th 2018, 08:55 |
neon1024 |
If I let PHP Storm deal with it, it’ll add the @method docblocks and then put in a __call magic method to catch calls to them, which is utter filth |
# |
Mar 15th 2018, 08:54 |
neon1024 |
Or can I just add and `@method` and be happy? |
# |
Mar 15th 2018, 08:51 |
dakota |
The ORM guru (aka Lorenzo) knows all :) |
# |
Mar 15th 2018, 08:50 |
dakota |
Morning |
# |
Mar 15th 2018, 08:50 |
neon1024 |
Does anyone know the implementation details for these methods? https://github.com/cakephp/cakephp/blob/master/src/Datasource/QueryInterface.php#L21-L22 |
# |
Mar 15th 2018, 08:45 |
neon1024 |
Morning |
# |
Mar 15th 2018, 07:34 |
roel |
Hello everyone, I want to learn how to test my code with php unittest. Does anyone have any pointers/best practices or tutorials I can read other than the CakePHP test documentation? Thanks in advance |
# |
Mar 15th 2018, 07:05 |
nisseni |
Is there a way to see which controller is denying access. I have the correct settings in my acl file and if I clear the cake cache I get access. When I come back later I have no access again. Can't figure out the problem... |
# |
Mar 15th 2018, 06:16 |
ksandeep_ |
any one here who can help me in this, I google for it but not found solution |
# |
Mar 15th 2018, 06:01 |
ksandeep_ |
@savant: please find my code here |
# |
Mar 15th 2018, 06:00 |
ksandeep_ |
https://gist.github.com/nakoda/489a3292c4ac17cda227b34a79f89321 |
# |
Mar 15th 2018, 05:55 |
savant |
Note: I might not answer (its 2am here and I'm about to go to sleep) but generally you should show the code in case someone can answer :) |
# |
Mar 15th 2018, 05:54 |
ksandeep_ |
wait i will show you but I know its not fully correct |
# |
Mar 15th 2018, 05:54 |
savant |
Can you show the code you are using? |
# |
Mar 15th 2018, 05:53 |
ksandeep_ |
or can say i have two different tree in same table and want to move on branch from one tree to another |
# |
Mar 15th 2018, 05:52 |
ksandeep_ |
do not know properly how to do it |
# |
Mar 15th 2018, 05:51 |
ksandeep_ |
what i want is move my one category from one scope to another. same time all child need to be change with same scope |
# |
Mar 15th 2018, 05:51 |
ksandeep_ |
It not updating lft and rght properly, might be i am doing something wrong |
# |
Mar 15th 2018, 05:48 |
savant |
What do you mean, its not updating properly? |
# |
Mar 15th 2018, 05:41 |
ksandeep_ |
In my case order is not updating properly and also not clear how to update scope id for all child record |
# |
Mar 15th 2018, 05:40 |
ksandeep_ |
how to move records (parent and its child's) from one scope to another |
# |
Mar 15th 2018, 05:39 |
ksandeep_ |
Hello friends, I need help in tree behavior with scope attribute |
# |
Mar 15th 2018, 01:01 |
savant |
im also new here |
# |
Mar 15th 2018, 00:03 |
rexb |
new here |
# |
Mar 14th 2018, 18:49 |
alexmax |
Actually wait, the schema doesn't need the field. |
# |
Mar 14th 2018, 18:48 |
generitter |
Anyone know how to limit actions (scaffold.actions) on associated objects for the “view” action? |
# |
Mar 14th 2018, 18:44 |
alexmax |
Is there an easier way? |
# |
Mar 14th 2018, 18:44 |
alexmax |
but instead I have to create a field in the schema, and make sure it's in my form, hidden, and contains a value. |
# |
Mar 14th 2018, 18:43 |
alexmax |
I'd love to be able to just pop a validation in the validator that just fires without having to be tied to a specific field. |
# |
Mar 14th 2018, 18:39 |
alexmax |
I'm having to create a custom field that contains some bunk value in order for my custom validation to fire. |
# |
Mar 14th 2018, 18:23 |
xinobi |
How can i solve this problem in order to serve all within /users/:action ? |
# |
Mar 14th 2018, 18:23 |
xinobi |
I'm using a modeless form validator, I don't know how to put this but I need to serve Users and Teams requests but both are Users so that leaves me with some architecture trouble at the controller/view domain |
# |
Mar 14th 2018, 18:20 |
xinobi |
I've wrote this class https://pastebin.com/fJVuJnvW in order to allow multiple model Authentication and it works quite well |