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 <noreply@anthropic.com>
This commit is contained in:
parent
a4ea1c141e
commit
2f0c9a1b34
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue