Removed onboarding feature flag (#23726)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6a5bb53963
Коммит
4021098456
@@ -473,12 +473,6 @@ func (s *Server) doPlaybooksRolesCreationMigration() {
|
|||||||
const existingInstallationPostsThreshold = 10
|
const existingInstallationPostsThreshold = 10
|
||||||
|
|
||||||
func (s *Server) doFirstAdminSetupCompleteMigration() {
|
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 the migration is already marked as completed, don't do it again.
|
||||||
if _, err := s.Store().System().GetByName(FirstAdminSetupCompleteKey); err == nil {
|
if _, err := s.Store().System().GetByName(FirstAdminSetupCompleteKey); err == nil {
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -41,9 +41,6 @@ type FeatureFlags struct {
|
|||||||
|
|
||||||
NormalizeLdapDNs bool
|
NormalizeLdapDNs bool
|
||||||
|
|
||||||
// Enable special onboarding flow for first admin
|
|
||||||
UseCaseOnboarding bool
|
|
||||||
|
|
||||||
// Enable GraphQL feature
|
// Enable GraphQL feature
|
||||||
GraphQL bool
|
GraphQL bool
|
||||||
|
|
||||||
@@ -89,7 +86,6 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.BoardsFeatureFlags = ""
|
f.BoardsFeatureFlags = ""
|
||||||
f.BoardsDataRetention = false
|
f.BoardsDataRetention = false
|
||||||
f.NormalizeLdapDNs = false
|
f.NormalizeLdapDNs = false
|
||||||
f.UseCaseOnboarding = true
|
|
||||||
f.GraphQL = false
|
f.GraphQL = false
|
||||||
f.InsightsEnabled = true
|
f.InsightsEnabled = true
|
||||||
f.CommandPalette = false
|
f.CommandPalette = false
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user