department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
99 stars 69 forks source link

Extend the bulk edit view to filter content by author and allow the author field to be changed #10967

Open JayDarnell opened 2 years ago

JayDarnell commented 2 years ago

User Story or Problem Statement

Recently we had an issue where an editor was issued a new PIV card. When the user logged into the site with the new card a new user account was generated for them. This new user account had the same email address as her old one despite Drupal requiring each account have a unique email. A separate issue exists to investigate how this happened.

The purpose of this ticket is to extend our bulk edit functionality so we can search for content by author and then bulk change the authored by field on each of the content items, setting them to a new user account as needed. This way, if something like this were to happen again, we can reassign the content to the new account which frees up the old one for deletion (if desired)

Currently there is no way to filter the bulk edit view by author and when you use the Modify field values option the Authored by field is not available for all content types. (It is available for Events)

Related Slack conversations: https://dsva.slack.com/archives/C02HX4AQZ33/p1664458082520289

https://dsva.slack.com/archives/C02HX4AQZ33/p1664459536103349

Design principles

Veteran-centered

Editor-centered

CMS Team

Please check the team(s) that will do this work.

swirtSJW commented 2 years ago

The need for this is less likely if https://github.com/department-of-veterans-affairs/va.gov-cms/issues/10968 is working as it should.