<![CDATA[ Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]} - My Forums]]> https://forums.modx.com/thread/?thread=92387 <![CDATA[Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=6#dis-post-504794 Do you agree with me!? 2.3 and even 2.3.1 are not ready at all for GA release, many issues here and there. I've ACL screwed up, and it behaves really weird.

1- Resource which was configured with no save is throwing:
Code: 200 OK
{"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}

2- Menu items in topnav do not display for non-super user when they have custom permissions.

3- Some menu items with javascript handle causes the manager not to load at all: test with "flush your permissions" JS for example

3- Have to fix some of my code which sometimes hangs only on 2.3.x

Didn't have all those issues on 2.2.14

Bottom line: I suggest a clear straight forward test scenarios to be handled by community members.]]>
mina_gerges Jul 27, 2014, 03:56 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=6#dis-post-504794
<![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=6#dis-post-558479 ]]> BobRay May 11, 2018, 04:36 AM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=6#dis-post-558479 <![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]} (Best Answer)]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558475 ]]> aerosko0315 May 10, 2018, 04:08 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558475 <![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558437 BobRay May 08, 2018, 10:02 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558437 <![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558433 Quote from: BobRay at May 08, 2018, 04:52 AM
Try putting a return statement at the end of the plugin.

I did that, still no good.

Custom TV input type codes are within /core/components/customTVs/ just in case this might matter. I just followed the documentation here https://docs.modx.com/revolution/2.x/making-sites-with-modx/customizing-content/template-variables/adding-a-custom-tv-type-modx-2.2

No errors in the error log too.
]]>
aerosko0315 May 08, 2018, 04:55 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558433
<![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558426 BobRay May 08, 2018, 04:52 AM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558426 <![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558423 Quote from: BobRay at May 03, 2018, 10:51 PM
It's most likely a MODX permission issue since that message comes from the processor.

You can test the by making yourself a 'sudo' user. If that fixes it, it's definitely a MODX permission issue. That means you're missing a permission in the 'mgr' context that's required by one of the processors you're calling (or one of its parent classes).

I'm using a Sudo user. Context permission seems fine. But when i remove OnTVInputRenderList as plugin system events over the plugin i created for my custom TV input type, that issue resolves, but then again, my custom TV input type don't process.]]>
aerosko0315 May 07, 2018, 09:43 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558423
<![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558349
You can test the by making yourself a 'sudo' user. If that fixes it, it's definitely a MODX permission issue. That means you're missing a permission in the 'mgr' context that's required by one of the processors you're calling (or one of its parent classes).]]>
BobRay May 03, 2018, 10:51 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558349
<![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558345
Code: 200 OK
{"success":false,"message":"Access denied.","total":0,"data":[],"object":{"code":401}}

But this is due to OnTVInputRenderList plugin that i created for my custom TV input type.

Here's my plugin code:
<?php
$corePath = $modx->getOption('core_path',null,MODX_CORE_PATH).'components/customTVs/';
switch ($modx->event->name) {
    case 'OnTVInputRenderList':
        $modx->event->output($corePath.'tv/input/');
        break;
    case 'OnTVOutputRenderList':
        $modx->event->output($corePath.'tv/output/');
        break;
    case 'OnTVInputPropertiesList':
        $modx->event->output($corePath.'tv/inputoptions/');
        break;
    case 'OnTVOutputRenderPropertiesList':
        $modx->event->output($corePath.'tv/properties/');
        break;
    case 'OnManagerPageBeforeRender':
        break;
}


Any idea how can fix this? I was just following the documentation on how to create custom TV input type.

Thank you.]]>
aerosko0315 May 03, 2018, 09:38 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-558345
<![CDATA[Re: Code: 200 OK {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}]]> https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-547676 kctechsoln Dec 30, 2016, 03:45 PM https://forums.modx.com/thread/92387/2-3-is-not-ready?page=5#dis-post-547676