New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trash manager purging of resources assigned to resource group only working for sudo user #14339

Open
travisbotello opened this Issue Feb 6, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@travisbotello
Copy link
Contributor

travisbotello commented Feb 6, 2019

Bug report

Summary

Trash manager purging of resources assigned to resource group only working for sudo user.

Step to reproduce

  • Create a new user without sudo flag
  • Add this user to Administrator group and assign Super User role
  • Create a new resource group and grant access to Administrator group
  • Login with this new user
  • Create a new document and assign it to new resource group
  • Delete this resource
  • Go to trash manager
  • Hit purge all

Observed behavior

Resources are not purged. Success message is shown:

Success!
Nothing was purged, no errors occurred.

Expected behavior

Resources should be purged.

Environment

MODX 2.7.0 advanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment