Removed onboarding feature flag (#23726)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6a5bb53963
Коммит
4021098456
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user