Allow those in defaultRooms beta to also load policies #3780
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@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).
Unknown Policy
, but actually have the right policy name on them (see screenshots).Tested On
Screenshots
Web
GOOD:
![image](https://user-images.githubusercontent.com/19364431/123690899-f40e5600-d822-11eb-9754-6efc65b9c17f.png)
BAD:
![image](https://user-images.githubusercontent.com/19364431/123690872-ece74800-d822-11eb-864c-47743d81700b.png)