From 2f0c9a1b34aa770b0f929883b0c6c758d6526830 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Sun, 5 Jul 2026 12:14:30 +0000 Subject: [PATCH] Remove view_bookability + view_competitor_rates from forecasting caps These features have moved to the Rate Monitor app. Co-Authored-By: Claude Sonnet 4.6 --- src/db.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/db.js b/src/db.js index d6c1f82..edf174c 100644 --- a/src/db.js +++ b/src/db.js @@ -238,11 +238,9 @@ export async function initDb() { FROM apps a CROSS JOIN (VALUES ('view', 'View Forecasts', 'View dashboard, forecasts, and history', 1), - ('view_bookability', 'View Bookability', 'View the rate / bookability matrix', 2), - ('view_competitor_rates', 'View Competitors', 'View competitor rate scraping and matrix', 3), - ('view_accuracy', 'View Accuracy', 'View model accuracy metrics and backtesting', 4), - ('manage_sync', 'Manage Data Sync', 'Trigger Newbook / Resos data syncs manually', 5), - ('settings', 'Manage Settings', 'Configure Newbook credentials and sync schedules', 6) + ('view_accuracy', 'View Accuracy', 'View model accuracy metrics and backtesting', 2), + ('manage_sync', 'Manage Data Sync', 'Trigger Newbook / Resos data syncs manually', 3), + ('settings', 'Manage Settings', 'Configure Newbook credentials and sync schedules', 4) ) AS c(slug, name, description, sort_order) WHERE a.slug = 'forecasting' ON CONFLICT (app_id, slug) DO UPDATE SET