<![CDATA[ Trash manager - Access denied - My Forums]]> https://forums.modx.com/thread/?thread=104887 <![CDATA[Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-563987
Since upgrading to 2.7.0 I've not been able to purge deleted resources.

I'm directed to an 'An error occurred...' page with the message access denied. Looks like the new trash manager feature isn't working.

I'm running php7.

There's nothing in the error log.

Has anyone else come across this?

It's obviously not imperative but can anyone through any light on it?]]>
leicester-fox Feb 06, 2019, 09:51 AM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-563987
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564172
It's unchecked on the Administrator policy in my 2.7.0 install. I think it's a Setup bug, since AFAIK, all permissions are checked in the default Administrator policy.

Could you file that as a bug here: https://github.com/modxcms/revolution/issues?]]>
BobRay Feb 20, 2019, 09:10 PM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564172
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564162
I can confirm in my instance it was a permissions error also. The menu_trash option in ACL was unticked.

Thanks again!]]>
leicester-fox Feb 20, 2019, 11:14 AM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564162
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564161
I found menu_trash just needed to be added to the Admin Access Policy - it's working fine now
- I'm guessing that's a new thing from the last MODX core update]]>
ianelastic Feb 20, 2019, 09:39 AM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564161
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564149
If that doesn't do it, it's definitely a permission problem. The simplest cause would be that the Policy used for the Context Access ACL entry that gives you access to the 'mgr' context is missing the 'delete_document' or 'remove' permission.

If a resource you're trying to delete is also in a resource group, the Resource Group Access policy may be missing the 'delete' or 'remove' permissions.

If the resource has children that are in a resource group, it could be the same problem but for one or more of the children.

If it's not that, it could be a TV attached to the Resource's Template that you don't have permission to edit or view.

Some people have had weird permission problems when view_template permission is missing from the Context Access Policy.

Be sure to flush permissions and log out after making any changes.]]>
BobRay Feb 19, 2019, 08:53 PM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564149
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564142 An error occurred...
Access denied.

If I set my user account to sudo, then this fixes the problem, so it must be a permissions issue somewhere?
]]>
ianelastic Feb 19, 2019, 03:30 PM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564142
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564017
]]>
BobRay Feb 08, 2019, 08:00 PM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-564017
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-563998
I hope you're well.

Thanks for your input. I've upgraded 3 separate sites in the last month and the trash manager on one of the three works. I've got no symlinks or weblinks setup on any of them but I'll try and figure out what the difference is between them. I'll report back if I work it out as it may help someone else in the same situation.

Thanks,

Adam


]]>
leicester-fox Feb 07, 2019, 11:19 AM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-563998
<![CDATA[Re: Trash manager - Access denied]]> https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-563992 BobRay Feb 06, 2019, 06:30 PM https://forums.modx.com/thread/104887/trash-manager---access-denied#dis-post-563992