# |
Sep 30th 2016, 10:25 |
birdy247 |
I am prob using it in the most basic way |
# |
Sep 30th 2016, 10:24 |
birdy247 |
@dereuromark @bravo-kernel I use it on windows |
# |
Sep 30th 2016, 10:09 |
bravo-kernel |
@dereuromark not anymore but you should be able to pick any of the script found here https://github.com/alt3/cakebox/tree/dev/.cakebox/bash |
# |
Sep 30th 2016, 09:45 |
dereuromark |
bravo: do you have an example here for you custom scripts? I get some errors it doesnt like the sh file content etc |
# |
Sep 30th 2016, 09:21 |
inoas |
k4t $this->here maybe, or debug($this->request) |
# |
Sep 30th 2016, 09:17 |
bravo-kernel |
nice to hear, I am actually using it on Windows myself without issues |
# |
Sep 30th 2016, 09:13 |
dereuromark |
i am playing around with it, seems like it is a bit buggy on windows, but works great on ubuntu |
# |
Sep 30th 2016, 09:12 |
k4t |
is it possible to get current route name inside of view template? Cake3 |
# |
Sep 30th 2016, 09:06 |
bravo-kernel |
the base is good enough by itself for me at least, I have used it ever since |
# |
Sep 30th 2016, 09:06 |
bravo-kernel |
many downloads, almost nill feedback let alone contributions |
# |
Sep 30th 2016, 09:05 |
bravo-kernel |
but like I have said many times before.... I think we did too good a job |
# |
Sep 30th 2016, 09:05 |
bravo-kernel |
since that's all cake3 code |
# |
Sep 30th 2016, 09:05 |
bravo-kernel |
we/I expected people to at least pick up some "Help Wanted" tickets at https://github.com/alt3/cakebox-console/issues |
# |
Sep 30th 2016, 09:02 |
dereuromark |
bravo-kernel: many planned features seem like they wont come :slightly_smiling_face: |
# |
Sep 30th 2016, 09:01 |
dereuromark |
haha |
# |
Sep 30th 2016, 09:00 |
adityapansari |
? |
# |
Sep 30th 2016, 09:00 |
adityapansari |
How to customize this error - Cake\Network\Exception\ForbiddenException into 400.ctp |
# |
Sep 30th 2016, 08:56 |
inoas |
if stuff ain't broken, don't fix it ;) |
# |
Sep 30th 2016, 08:56 |
inoas |
<3 |
# |
Sep 30th 2016, 08:53 |
hmic |
*lol* |
# |
Sep 30th 2016, 08:53 |
bravo-kernel |
:slightly_smiling_face: |
# |
Sep 30th 2016, 08:53 |
bravo-kernel |
@dereuromark did you miss the 'b' in your comment. "Cakebox development is quite stale" |
# |
Sep 30th 2016, 08:42 |
adityapansari |
How to add a link in Flash helper? |
# |
Sep 30th 2016, 08:40 |
steinkel |
welcome! please leave a ticket to improve the docs if if the fix works for you |
# |
Sep 30th 2016, 08:39 |
kingloui |
@steinkel I will give that a try, thank you very much :slightly_smiling_face: |
# |
Sep 30th 2016, 08:35 |
steinkel |
one workaround could be not using isAuthorized and adding a rule to SimpleRbac to check that condition in the allowed callback |
# |
Sep 30th 2016, 08:34 |
kingloui |
@steinkel so that means that in the cakedc/users context the check works, but borrowed to controller authorize it wonâ??t? |
# |
Sep 30th 2016, 08:33 |
admad |
Neon1024: the same can be said about older versions of most softwares :slightly_smiling_face: Except maybe windows :P |
# |
Sep 30th 2016, 08:33 |
steinkel |
yeah, the helper has some limitations as we didn't want to load the target controller and apply all the related logic that could affect Auth in init/beforeFilter/etc |
# |
Sep 30th 2016, 08:32 |
birdy247 |
It works for me atm though :slightly_smiling_face: |
# |
Sep 30th 2016, 08:32 |
birdy247 |
@dereuromark yes, it hasnt been changed for a while |
# |
Sep 30th 2016, 08:30 |
slackebot |
because the admin PagesController authorizes the request although the request is for /admin/users/index |
# |
Sep 30th 2016, 08:30 |
kingloui |
@steinkel yeah thats the code I borrowed, I want to test my code without cakedc users so i copied the function from the controller. The thing I donâ??t understand is: Iâ??m currently on http://myapp/admin/page/index> which the user is authorized for through the Admin PageController isAuthorized method. On this page I check the url <http://myapp/admin/users/index where the users is not authorized for. The check function from the CakeDC Compo |
# |
Sep 30th 2016, 08:29 |
Neon1024 |
Ruh roh |
# |
Sep 30th 2016, 08:28 |
Neon1024 |
I mean, like, I appreciate all the effort that went into it, but Cake 3 really blows it out of the water |
# |
Sep 30th 2016, 08:28 |
Neon1024 |
Cake 2 really sucks compared to Cake 3 |
# |
Sep 30th 2016, 08:28 |
Neon1024 |
Ouch thatâ??s old |
# |
Sep 30th 2016, 08:28 |
Neon1024 |
Oh 3.7.* |
# |
Sep 30th 2016, 08:27 |
Neon1024 |
Which 4.3 version of PHP Unit is it for Cake 2? |
# |
Sep 30th 2016, 08:25 |
steinkel |
@kingloui check https://github.com/CakeDC/users/blob/master/src/View/Helper/AuthLinkHelper.php it will provide you exactly that feature |
# |
Sep 30th 2016, 08:23 |
sandeeep |
Thanks Neon1024 |