Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow those in defaultRooms beta to also load policies #3780

Merged
merged 2 commits into from
Jun 28, 2021

Conversation

TomatoToaster
Copy link
Contributor

@TomatoToaster TomatoToaster commented Jun 28, 2021

@Jag96, please review when you get the chance
CC: @marcaaron, @yuwenmemon

Details

We recently restricted loading policy data to those in the freePlan beta, but this is also necessary for defaultRooms so let's let both users access this.

ALSO, we aren't looking for the all flag in some of the newer betas, so this fixes that too. This will allow expensifail (including applause) accounts to access all betas as intended in ecash.

Fixed Issues

related to https://github.com/Expensify/Expensify/issues/161777

Tests

This isn't something you can really test locally without manually editing the beta code anyway. This will be really quick to test in staging/prod.

QA Steps

This needs to be tested internally (reach out to @TomatoToaster or [email protected] on ecash and he can do it quickly).

  1. On your expensifail account verify that you can see policies load in Application -> Local Stoarage
  2. Do the same for your expensify account and verify that the defaultRooms don't say Unknown Policy, but actually have the right policy name on them (see screenshots).

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

GOOD:
image

BAD:
image

@TomatoToaster TomatoToaster self-assigned this Jun 28, 2021
@TomatoToaster TomatoToaster requested a review from a team June 28, 2021 19:10
@TomatoToaster TomatoToaster marked this pull request as ready for review June 28, 2021 19:10
@MelvinBot MelvinBot requested review from Jag96 and removed request for a team June 28, 2021 19:11
@marcaaron
Copy link
Contributor

Ah yep that'll do it 🤦 LGTM thanks for catching this!

@yuwenmemon yuwenmemon merged commit a1c742c into main Jun 28, 2021
@yuwenmemon yuwenmemon deleted the amal-default-room-policies-beta branch June 28, 2021 19:47
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.74-1🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@TomatoToaster
Copy link
Contributor Author

Just QA'ed this one. Can verify it's working on my phone and on web:
image

@yuwenmemon
Copy link
Contributor

Nice! @trjExpensify or @TomatoToaster you wanna make an inaugural post in that room? 😏

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.

4 participants