Removed onboarding feature flag (#23726)

Этот коммит содержится в:
Maria A Nunez
2023-06-14 08:58:02 -04:00
коммит произвёл GitHub
родитель 6a5bb53963
Коммит 4021098456
2 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@@ -473,12 +473,6 @@ func (s *Server) doPlaybooksRolesCreationMigration() {
const existingInstallationPostsThreshold = 10
func (s *Server) doFirstAdminSetupCompleteMigration() {
// Don't run the migration until the flag is turned on.
if !s.platform.Config().FeatureFlags.UseCaseOnboarding {
return
}
// If the migration is already marked as completed, don't do it again.
if _, err := s.Store().System().GetByName(FirstAdminSetupCompleteKey); err == nil {
return

Просмотреть файл

@@ -41,9 +41,6 @@ type FeatureFlags struct {
NormalizeLdapDNs bool
// Enable special onboarding flow for first admin
UseCaseOnboarding bool
// Enable GraphQL feature
GraphQL bool
@@ -89,7 +86,6 @@ func (f *FeatureFlags) SetDefaults() {
f.BoardsFeatureFlags = ""
f.BoardsDataRetention = false
f.NormalizeLdapDNs = false
f.UseCaseOnboarding = true
f.GraphQL = false
f.InsightsEnabled = true
f.CommandPalette = false