delete icon should not be available when the question cannot be edited
Expected behaviour
A user should only be able to delete a question item widget when the item itself can be edited
Current behaviour
The delete icon is visible (but not functional) on published items
Steps to reproduce
- go to browse items page and open any question
- see delete icon
Testing environment
- Username of the user who experienced the problem: Managing Editor (Dione)
- URL where the problem occurred: https://hhmi.cloud68.co/question/813bf099-51f9-4ea8-aa28-544b1026bc57/test But this is also present on production site
- Browser name and version: Version 1.63.169 Chromium: 122.0.6261.111
- User machine: Mac
Error logs (if available)
Possible solution
QA Steps
[To be completed by Coko]
Scheduling
[To be completed by Coko]
- Dependencies: [provide issue numbers]
- Development estimate: [provide in hours]