<![CDATA[ [ACL] why do I get error Code: 200 OK for user - My Forums]]> https://forums.modx.com/thread/?thread=102773 <![CDATA[ [ACL] why do I get error Code: 200 OK for user]]> https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553576
I just installed and setup a MODX2.5.7 web site and I now setup ACL permission following that procedure
https://docs.modx.com/revolution/2.x/administering-your-site/security/security-tutorials/giving-a-user-manager-access

I flushed the permission.

Now when I log with an user account with edit permission, after selecting a ressource, I receive that error messge
Code: 200 OK
{"success":false,"message":"Autorisation refus\u00e9e !","total":0,"data":[],"object":[]}


I surfed into the MODX forum I found serveral solution. Those solution work for the forum topic owner.
https://forums.modx.com/thread/92206/error-code-200-ok-on-every-resource-select?page=2#dis-post-507407
https://forums.modx.com/thread/?thread=92387&page=3
One of them what to check and select view_user and class_map. I also red to change the setting compress_css and compress_js to false.

Even if I tried those solution, it did not solve my issue. Did I missed something?

I would like to point out, this issue happen only for user with edit permission. For my admin account, I do not experience that issue.

So, I wunder, if you would have another solution to help me to solve it

Many that for your support
Cheers

]]>
pierrot1010 Sep 03, 2017, 09:21 PM https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553576
<![CDATA[Re: [ACL] why do I get error Code: 200 OK for user (Best Answer)]]> https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553594
I checked 'view_templates'
I logged out the user
I cleaned cache and emptied /core/cache
I logged user and .... solved!!

Thank!!]]>
pierrot1010 Sep 04, 2017, 02:54 PM https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553594
<![CDATA[Re: [ACL] why do I get error Code: 200 OK for user (Best Answer)]]> https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553591
There was a change (caused by me, sorry tongue) in 2.5.1 or 2.5.2 where some actions were assigned a new permission. That was meant to combat a security issue, but had the side effect of requiring a new permission in some cases. That explains why you would not have that problem on an older site with the same permission set (though you really must update that ASAP, the security issues fixed in 2.5.2 are quite severe).

It's highly unlikely that a .htaccess file causes that error, but that's easy to disprove. Simply rename it to something else for a moment and verify that the problem is still present.]]>
markh Sep 04, 2017, 02:47 PM https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553591
<![CDATA[Re: [ACL] why do I get error Code: 200 OK for user]]> https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553587
I previously build a web site with MODx 2.5.1 and I do have that issue. I compare all setting and policies and all seams to be egal.

The difference between two site, 2.5.1 is in two language and the actual web site 2.5.7 has only one language

Can this problem come from the .htaccess file? (I configure URL friendly for both but the htaccess is a bit difference as I am using Babel for the multilanguage...

I become creasy shocked)]]>
pierrot1010 Sep 04, 2017, 02:30 PM https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553587
<![CDATA[Re: [ACL] why do I get error Code: 200 OK for user]]> https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553586 Thank for your support,

I granted the user with sudo
I flush the permission and I cleaned the cache from
I unlog all users
I deleted /core/cache
I logged with the user and I still have this error message shocked(

However, when I check the sudo check box for the user, the problem is solved. Thank!

But I do not want to keep her as sudo. Any idea what I need to change in my policy?]]>
pierrot1010 Sep 04, 2017, 12:44 PM https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553586
<![CDATA[Re: [ACL] why do I get error Code: 200 OK for user]]> https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553582 ]]> lkfranklin Sep 04, 2017, 04:23 AM https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553582 <![CDATA[Re: [ACL] why do I get error Code: 200 OK for user]]> https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553579
To see if this is really a MODX permissions issue, temporarily make the user a sudo user. If that solves it, it's definitely a MODX permission issue.

Another good technique is to temporarily change the policy to a duplicate of the Administrator Policy for Context Access ACL entries, or a duplicate of the Resource policy for Resource Group Access ACL entries. If that fixes things, you can then start unchecking permissions in the policy until it breaks down. That will tell you which permission was missing.]]>
BobRay Sep 04, 2017, 03:48 AM https://forums.modx.com/thread/102773/acl-why-do-i-get-error-code-200-ok-for-user#dis-post-553579