Skip to content

Fix NSFW system for tenants minds#4460

Ben requested to merge fix/tenant-nsfw-m4460 into master

Ticket(s) / Related Merge Requests

minds#4460 (closed)

Summary of Changes

Fixes NSFW not working on tenant networks.

Testing Considerations

Test on https://c81e728d9d4c2f636f067f89cc14862c.bens-networks-2.oke.minds.io/

  • You can make an NSFW post.
  • When refreshing the post is NSFW.
  • From another account, the post is NSFW.

Deployment Considerations

Make sure to run the following sql:

ALTER TABLE `minds_entities_activity`
    ADD `nsfw` json DEFAULT NULL
    AFTER `attachments`;

ALTER TABLE `minds_entities_activity`
    ADD `nsfw_lock` json DEFAULT NULL
    AFTER `nsfw`;

Regression Scope

Adds NSFW for activities to tenant networks.

Platform Affected (web, mobile, etc)

Engine. Tenant networks.

Developer Testing Completed

Manual.

Screenshots / Screen Recording

simplescreenrecorder-2023-12-12_11.46.50

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