Skip to content

[engine] Tenant moderator boost console access minds#4883

Ben requested to merge fix/non-admin-boost-m4883 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Allow access to boost console for tenant users with CAN_MODERATE permission.

Testing Considerations

Deployed to https://fausto.oke.minds.io/

Note - Boosts that have sat in the queue for a while may have expired on stripe and throw an error - if you run into this, try new Boosts.

As tenant admin on a network (with moderation permission).
  • I can view boosts in the Boost queue.
  • I can approve boosts in the Boost queue.
  • I can reject boosts in the Boost queue.
As user with moderation permissions on a network.
  • Assign the CAN_MODERATE permission to a user from the network admin console.
As normal user without moderation permission on a network.
  • I cannot access the admin console.
As Minds admin

Make sure you are using VPN and logged in as the sandbox admin:

  • I can view boosts in the Boost queue.
  • I can approve boosts in the Boost queue.
  • I can reject boosts in the Boost queue.

Deployment Considerations

Standard deployment.

Regression Scope

Permissions around Boost admin.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

Manual, unit (phpspec), unit (karma/jasmine).

Screenshots / Screen Recording

As tenant admin on a network (with moderation permission).

simplescreenrecorder-2024-06-13_20.21.26

As user with moderation permissions on a network.

simplescreenrecorder-2024-06-13_20.23.37

As Minds admin

simplescreenrecorder-2024-06-13_20.36.11

As a user without permissions

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