diff --git a/app/javascript/dashboard/i18n/locale/en/settings.json b/app/javascript/dashboard/i18n/locale/en/settings.json index 9a3d58443..2533fa832 100644 --- a/app/javascript/dashboard/i18n/locale/en/settings.json +++ b/app/javascript/dashboard/i18n/locale/en/settings.json @@ -413,6 +413,18 @@ }, "VALIDATION": { "REQUIRED_FIELDS": "SSO URL and Certificate are required fields" + }, + "ENTERPRISE_PAYWALL": { + "AVAILABLE_ON": "The SAML SSO feature is only available in the Enterprise plans.", + "UPGRADE_PROMPT": "Upgrade to an Enterprise plan to access SAML single sign-on and other advanced security features.", + "ASK_ADMIN": "Please reach out to your administrator for the upgrade." + }, + "PAYWALL": { + "TITLE": "Upgrade to enable SAML SSO", + "AVAILABLE_ON": "The SAML SSO feature is only available in the Enterprise plans.", + "UPGRADE_PROMPT": "Upgrade your plan to get access to SAML single sign-on and other advanced features.", + "UPGRADE_NOW": "Upgrade now", + "CANCEL_ANYTIME": "You can change or cancel your plan anytime" } } }, diff --git a/app/javascript/dashboard/routes/dashboard/settings/security/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/security/Index.vue index 70b8043ae..169fb66b9 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/security/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/security/Index.vue @@ -1,7 +1,23 @@ diff --git a/app/javascript/dashboard/routes/dashboard/settings/security/components/SamlPaywall.vue b/app/javascript/dashboard/routes/dashboard/settings/security/components/SamlPaywall.vue new file mode 100644 index 000000000..8e7ef938f --- /dev/null +++ b/app/javascript/dashboard/routes/dashboard/settings/security/components/SamlPaywall.vue @@ -0,0 +1,41 @@ + + + diff --git a/app/javascript/dashboard/routes/dashboard/settings/security/components/SamlSettings.vue b/app/javascript/dashboard/routes/dashboard/settings/security/components/SamlSettings.vue index 67b9d62d9..4a4a7902e 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/security/components/SamlSettings.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/security/components/SamlSettings.vue @@ -118,7 +118,6 @@ onMounted(() => { :title="t('SECURITY_SETTINGS.SAML.TITLE')" :description="t('SECURITY_SETTINGS.SAML.NOTE')" :hide-content="!hasFeature || !isEnabled || isLoading" - with-border >