Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: wrap API auth settings with enterprise LockedSetting controls

Louis Beaumont3e15d1550d01
diff --git a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx
index f0e68936a..01713eea9 100644
--- a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx
@@ -392,6 +392,7 @@ export function PrivacySection() {
<h2 className="text-xs font-semibold text-muted-foreground uppercase tracking-wider px-1">
Security
</h2>
+ <LockedSetting settingKey="api_auth">
<Card className="border-border bg-card">
<CardContent className="px-3 py-2.5">
<div className="flex items-center justify-between">
@@ -413,6 +414,7 @@ export function PrivacySection() {
}}
/>
</div>
+ <LockedSetting settingKey="api_key">
{(settings.apiAuth ?? true) && (
<div className="mt-2.5 flex items-center space-x-2.5 pl-6.5">
<Input
@@ -426,8 +428,10 @@ export function PrivacySection() {
/>
</div>
)}
+ </LockedSetting>
</CardContent>
</Card>
+ </LockedSetting>
<Card className="border-border bg-card">
<CardContent className="px-3 py-2.5">
<div className="flex items-center justify-between">