Skip to content

HPE Altloader: Block all activity loads for B2B test users in production - #127

Open
wilsonweb wants to merge 1 commit into
mainfrom
jw-block-b2b-test-users
Open

HPE Altloader: Block all activity loads for B2B test users in production#127
wilsonweb wants to merge 1 commit into
mainfrom
jw-block-b2b-test-users

Conversation

@wilsonweb

Copy link
Copy Markdown
Collaborator

https://app.clickup.com/t/36225327/86e2j7t2u

feat(init-activities): add test user detection and activity blocking for B2B storefront

  • init-activities.js: Implemented a kill switch for internal test accounts to prevent them from enrolling in activities.
  • Added functions to check if the site is a B2B production site and to detect test users based on a hidden JSON blob.
  • Modified loadActivities function to block activities for test users while allowing normal operation for production users.

https://app.clickup.com/t/36225327/86e2j7t2u

feat(init-activities): add test user detection and activity blocking for B2B storefront

- init-activities.js: Implemented a kill switch for internal test accounts to prevent them from enrolling in activities.
- Added functions to check if the site is a B2B production site and to detect test users based on a hidden JSON blob.
- Modified loadActivities function to block activities for test users while allowing normal operation for production users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant