Closed laflannery closed 10 months ago
This definitely seems like a regression. The knowledge base article for stories states:
Using the Where should the story be listed? dropdown, select which site the story should appear on. For example, selecting VA Pittsburgh health care means your story will appear on the VA Pittsburgh’s Stories page. If you only have permission to edit one section, you will only have one option in this dropdown menu.
The training video for adding an event shows this select list being winnowed:
Entity reference (admin/structure/types/manage/news_story/fields/node.news_story.field_listing
) to a view content_entity_reference_source (admin/structure/views/view/content_entity_reference_source
). May be addressed by changing the view's permissions, which is currently set to published content. I am not sure how/where "the winnower" comes into affect with this, however.
This might be resolved by @omahane's work on #15901
This is closed by https://github.com/department-of-veterans-affairs/va.gov-cms/pull/16663
Verified.
Describe the defect
Within the CMS, on listing content types (i.e. Event, Story, News Release) there is a dropdown to choose where the story should be listing, which section. However, this dropdown is not filtered according to the section the user has permissions for.
To Reproduce
Steps to reproduce the behavior:
AC / Expected behavior
[ ] Determine if this is intentional behavior or if this should be filtered to only display sections the user has permissions for
Screenshots
Additional context
I found this when I was on a meeting with Swirt, he was trying to think of or remember why this may have been architected in this way. He couldn't remember anything off the top of his head but it's definitely something that we maybe want to investigate more and see if there was a reason before changing it.
Team
Please check the team(s) that will do this work.
CMS Team
Public Websites
Facilities
User support