Skip to content

Commit

Permalink
samlsettings: add sso settings saml feature flag (#84433)
Browse files Browse the repository at this point in the history
* add feature flag for ssosettings saml configuration

* add generated files
  • Loading branch information
linoman committed Mar 14, 2024
1 parent 391d14d commit 831ee9e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/grafana-data/src/types/featureToggles.gen.ts
Expand Up @@ -181,4 +181,5 @@ export interface FeatureToggles {
alertingUpgradeDryrunOnStart?: boolean;
scopeFilters?: boolean;
emailVerificationEnforcement?: boolean;
ssoSettingsSAML?: boolean;
}
8 changes: 8 additions & 0 deletions pkg/services/featuremgmt/registry.go
Expand Up @@ -1217,6 +1217,14 @@ var (
HideFromDocs: true,
HideFromAdminPage: true,
},
{
Name: "ssoSettingsSAML",
Description: "Use the new SSO Settings API to configure the SAML connector",
Stage: FeatureStageExperimental,
Owner: identityAccessTeam,
HideFromDocs: true,
HideFromAdminPage: true,
},
}
)

Expand Down
1 change: 1 addition & 0 deletions pkg/services/featuremgmt/toggles_gen.csv
Expand Up @@ -162,3 +162,4 @@ betterPageScrolling,GA,@grafana/grafana-frontend-platform,false,false,true
alertingUpgradeDryrunOnStart,GA,@grafana/alerting-squad,false,true,false
scopeFilters,experimental,@grafana/dashboards-squad,false,false,false
emailVerificationEnforcement,experimental,@grafana/identity-access-team,false,false,false
ssoSettingsSAML,experimental,@grafana/identity-access-team,false,false,false
4 changes: 4 additions & 0 deletions pkg/services/featuremgmt/toggles_gen.go
Expand Up @@ -658,4 +658,8 @@ const (
// FlagEmailVerificationEnforcement
// Force email verification for users, even when authenticating through sso.
FlagEmailVerificationEnforcement = "emailVerificationEnforcement"

// FlagSsoSettingsSAML
// Use the new SSO Settings API to configure the SAML connector
FlagSsoSettingsSAML = "ssoSettingsSAML"
)
17 changes: 17 additions & 0 deletions pkg/services/featuremgmt/toggles_gen.json
Expand Up @@ -2118,6 +2118,23 @@
"hideFromAdminPage": true,
"hideFromDocs": true
}
},
{
"metadata": {
"name": "ssoSettingsSAML",
"resourceVersion": "1710411764296",
"creationTimestamp": "2024-03-14T09:41:17Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-03-14 10:22:44.296694 +0000 UTC"
}
},
"spec": {
"description": "Use the new SSO Settings API to configure the SAML connector",
"stage": "experimental",
"codeowner": "@grafana/identity-access-team",
"hideFromAdminPage": true,
"hideFromDocs": true
}
}
]
}

0 comments on commit 831ee9e

Please sign in to comment.