Trash manager purging of resources assigned to resource group only working for sudo user.
Resources are not purged. Success message is shown:
Success!
Nothing was purged, no errors occurred.
Resources should be purged.
MODX 2.7.0 advanced
I am experiencing issues with the Trash Manager too. I have various clients who has specific permissions assigned to them via ACLs and whilst some seem to be able to remove resources from the Trash Manager others do not. Permissions to access Trash Manager and purge resources and delete resources are checked but for some this doesn't appear to make any difference and resources remain in place. As @travisbotello states if you give a user Sudo status then suddenly they can empty the Trash Manager but obviously that isn't ideal.
The problem is (as I understand) in line 130 , file \core\model\modx\processors\resource\trash\getlist.class.php
$canEdit = $this->modx->hasPermission('edit');
I can't find permission EDIT, we have only SAVE
Thats why clients do not see context menu on _manager/?a=resource/trash_ page
Excellent observation. When adding edit permission manually to the admin template and activating this in the policy purging is working as expected without sudo flag. However I'd suggest that the policy should be renamed to something more specific like edit_trash or can_purge. We have some edit_* permissions which are more specific.