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

User role w/o Delete access sees Delete button on collections #2144

Closed
danielfowler opened this Issue Aug 29, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@danielfowler

danielfowler commented Aug 29, 2018

Describe the bug
User role that has access to view, edit, create a collection can select entries on the collection page, and so doing sees the red Delete button at the bottom.

To Reproduce

  1. Create user role that can do CRU a collection
  2. Login with user assigned to that role (thanks, Impersonator add-on!)
  3. Go to Collection in sidebar
  4. Select an entry or two
  5. Scroll to bottom and click Delete

Expected behavior
I expect no button to be visible.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment details (please complete the following information):

  • Statamic v2.10.4
  • Old site
  • OS: Windows 10
  • Browser: Chrome
  • Web Server: Apache
  • PHP Version: 7.2
  • Addons installed: Impersonator, Charge, Workshop, Loop

Additional context
The button doesn't do anything when clicked, but that's confusing. It probably isn't supposed to be there.

@danielfowler

This comment has been minimized.

danielfowler commented Aug 29, 2018

Along this same vein, my new user can see some add-ons (Charge), and sees the red banner across the top indicating licenses need attention, and can click to view/manage licenses. All I wanted to give them access to was my Blog collection - all these extras are quite a surprise!

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