Skip to content

Make wire GUID publicly encapsulated for ACL access. front#5563

Ben requested to merge fix/broken-notifs-f5563 into master

Ticket(s) / Related Merge Requests

front#5563 (closed)

Summary of Changes

Make GUID publicly accessible so that the ACL can grab it when writing an error. The alternative to this would be to change the ACL to use getGuid() - given the scope of the ACL this has a much wider regression scope and I think conceding a change to encapsulation in the Wire class is the most sensible path forward.

Testing Considerations

This is happening when an account is deactivated after sending a wire so:

  1. Make an account.
  2. Give it offchain tokens.
  3. Enter this engine pod and start notif stream
php /var/www/Minds/engine/cli.php EventStreams --subscription=Core\\Notifications\\NotificationsEventStreamsSubscription
  1. Send a wire to another channel.
  2. Deactivate the account.
  3. Login as the wire recipient.
  4. Notifs should load fine (not showing the notif).

Deployment Considerations

Standard deployment.

Regression Scope

Minor changes to make encapsulation in the wire class - would not feasibly break anything.

Platform Affected (web, mobile, etc)

Engine

Developer Testing Completed

Manual

Screenshots / Screen Recording

image

image

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports