politics-rewired / Spoke

Politics Rewired's fork of Spoke
GNU General Public License v3.0
36 stars 17 forks source link

Bulk script editor is applied across the instance instead of limited to the organization #1640

Open ninabaldwin opened 1 year ago

ninabaldwin commented 1 year ago

Describe the bug Previously the bulk script editor would apply only to messages within an organization. We received a report that it is now being applied to messages across the entire instance. This can be problematic as administrators in one organization can make changes to other organizations without their knowledge.

We need to revert the behavior back to applying only to messages within that organization.

To Reproduce Steps to reproduce the behavior:

From within an instance that has multiple organizations, find a phrase that occurs in a text message script in both organizations.

  1. Go to "Bulk Script Editor"
  2. In replace text, type the phrase you found
  3. Type in text that it will be replaced with
  4. Click find and replace
  5. Review scripts with the phrase to confirm that it was changed in different organizations.

Expected behavior Only phrases within that organization are updated. Other organizations should have no change.