Open kevwalsh opened 3 years ago
Per our scrum convo on 6/3, approach should be to resolve workbench bug that is preventing modal from being aware of current context. E.g.: don't extend the js approach used to winnow health service dropdowns.
Gonna have to abandon the non-js approach for this one for now - stepping through it in the debugger is yielding no clues. I can't figure out where the magic is that is limiting results when the "default" entity reference method is selected, here: /admin/structure/media/manage/image/fields/media.image.field_owner
- I tried creating a new entity reference view, but this requires a new term view, with a reference to be made to the node lock user, and this relationship doesn't connect to the user section list.
@kevwalsh
I found this without the team label on it. Adding to our backlog @productmike @BerniXiongA6
Describe the defect
As Austin.wilmarth@va.gov, sections field on media allows me to add media to any section at VA. I should only see Colorado Springs
To Reproduce Steps to reproduce the behavior:
Expected behavior
I should only see the section i have access to (Colorado Springs Vet Center), like i do on the /media/add/image form. Ideally, if i only have access to one section, it should be prepopulated
Screenshots
Current behavior on media widget version of image form
Comparison of two widgets, between the media widget (top) and /media/add/image (below)
Vet Center Service form
ACs
CMS Team
Please leave only the team that will do this work selected. If you're not sure, it's fine to leave both selected.
Core Application Team
Product Support Team