gergo/web 2931 introduce missing workspace plans (#4323)
* fix(gatekeeper): missing priceId-s should stop the server from booting * feat(shared): add all new workspace plans * feat(billing): add new world plans * feat(ci): use stripe sandbox id-s from test env vars * chore(ci): remove defunct stripe context * chore(server-env): fix server env example * feat(gatekeeper): add missing plans to graphql schema * test(gatekeeper): update plan upgrade tests to match implementation * fix(ci): update ci .env source * fix(ci): we do need some secrets from stripe * fix(ci): run gql schema introspect with the test env * fix(frontend): format new plan names * chore(ci): temp disable gql schema checks * feat(helm): add unlimited seat prices env vars * feat(helm): add unlimited seat prices to values * feat(gatekeeper): do not load priceId-s as a side effect, load with module init
This commit is contained in:
@@ -55,7 +55,6 @@ import {
|
||||
} from '@/modules/workspaces/repositories/workspaces'
|
||||
import { grantStreamPermissionsFactory } from '@/modules/core/repositories/streams'
|
||||
import { WorkspaceNotFoundError } from '@/modules/workspaces/errors/workspace'
|
||||
import { getFeatureFlags } from '@/modules/shared/helpers/envHelper'
|
||||
import { validateAndCreateUserEmailFactory } from '@/modules/core/services/userEmails'
|
||||
import {
|
||||
createUserEmailFactory,
|
||||
@@ -96,7 +95,6 @@ const validateAndCreateUserEmail = validateAndCreateUserEmailFactory({
|
||||
renderEmail
|
||||
})
|
||||
})
|
||||
const { FF_GATEKEEPER_FORCE_FREE_PLAN } = getFeatureFlags()
|
||||
|
||||
describe('Workspaces GQL CRUD', () => {
|
||||
let apollo: TestApolloServer
|
||||
@@ -593,19 +591,7 @@ describe('Workspaces GQL CRUD', () => {
|
||||
id: project1Id,
|
||||
name: project1Name
|
||||
}
|
||||
},
|
||||
// No longer auto-assigned in new plan world (until we rework auth & queries)
|
||||
...(FF_GATEKEEPER_FORCE_FREE_PLAN
|
||||
? []
|
||||
: [
|
||||
{
|
||||
role: Roles.Stream.Reviewer,
|
||||
project: {
|
||||
id: project2Id,
|
||||
name: project2Name
|
||||
}
|
||||
}
|
||||
])
|
||||
}
|
||||
])
|
||||
const guestRoles = items.find(
|
||||
(item) => item.role === Roles.Workspace.Guest
|
||||
|
||||
Reference in New Issue
Block a user