chore(docs): feature flag compliance content (#38527)
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
This commit is contained in:
@@ -7,6 +7,7 @@ import type { GlobalMenuItems, NavMenuConstant, NavMenuSection } from '../Naviga
|
||||
const {
|
||||
authenticationShowProviders: allAuthProvidersEnabled,
|
||||
billingAll: billingEnabled,
|
||||
docsCompliance: complianceEnabled,
|
||||
'docsSelf-hosting': selfHostingEnabled,
|
||||
sdkCsharp: sdkCsharpEnabled,
|
||||
sdkDart: sdkDartEnabled,
|
||||
@@ -16,6 +17,7 @@ const {
|
||||
} = isFeatureEnabled([
|
||||
'authentication:show_providers',
|
||||
'billing:all',
|
||||
'docs:compliance',
|
||||
'docs:self-hosting',
|
||||
'sdk:csharp',
|
||||
'sdk:dart',
|
||||
@@ -2192,6 +2194,7 @@ export const security: NavMenuConstant = {
|
||||
{
|
||||
name: 'Compliance',
|
||||
url: undefined,
|
||||
enabled: complianceEnabled,
|
||||
items: [
|
||||
{ name: 'SOC 2', url: '/guides/security/soc-2-compliance' },
|
||||
{ name: 'HIPAA', url: '/guides/security/hipaa-compliance' },
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
"database:replication": true,
|
||||
"database:roles": true,
|
||||
|
||||
"docs:compliance": false,
|
||||
"docs:self-hosting": true,
|
||||
|
||||
"feedback:docs": true,
|
||||
|
||||
@@ -112,6 +112,10 @@
|
||||
"description": "Enable the database roles page"
|
||||
},
|
||||
|
||||
"docs:compliance": {
|
||||
"type": "boolean",
|
||||
"description": "Enable documentation on compliance"
|
||||
},
|
||||
"docs:self-hosting": {
|
||||
"type": "boolean",
|
||||
"description": "Enable documentation for self-hosting"
|
||||
@@ -258,6 +262,7 @@
|
||||
"dashboard_auth:sign_in_with_email",
|
||||
"database:replication",
|
||||
"database:roles",
|
||||
"docs:compliance",
|
||||
"docs:self-hosting",
|
||||
"feedback:docs",
|
||||
"integrations:vercel",
|
||||
|
||||
Reference in New Issue
Block a user