Adds QQQ_ALL_PROFILE=enterprise composing the QBit set an enterprise rollout would run (jobs, collaboration, alerts, data-analysis, db-performance, sql-workbench, help, release-notes, qa-capture, secured-data, email, slack, cluster, cdn, backups, file-gateway, session-store, worm-audit, assistant, quick-search 1.1.0, redis realtime, the core profile's seven QBits, the sample app, core audits/scripts/saved views/reports/bulk-load/sharing/query stats/durable jobs/health) with MOCK auth and an in-memory Quartz scheduler. Fixes found by the sweep: health advertised, calculateOrderTotal input form, record labels, mutable health indicators, quoted H2 reserved words, webhook test-event ordering workaround, jobs-permission workaround, quick-search admin permission for the full profile's smoke. Closes #44, closes #45, closes #46. Refs #47, QRun-IO/qqq#1361, QRun-IO/qqq#1362. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
14 lines
603 B
SQL
14 lines
603 B
SQL
-- Quick Search 1.x protects its admin processes (quickSearchFullReindex and friends) and its
|
|
-- admin app with the quick_search_admin permission; the full-profile admin runs the reindex.
|
|
INSERT INTO permission (name, object_type, object_label)
|
|
VALUES
|
|
('quick_search_admin.hasAccess', 'process', 'Quick Search Admin')
|
|
ON CONFLICT (name) DO NOTHING;
|
|
|
|
INSERT INTO role_permission_int (role_id, permission_id)
|
|
SELECT role.id, permission.id
|
|
FROM role CROSS JOIN permission
|
|
WHERE permission.name = 'quick_search_admin.hasAccess'
|
|
AND role.name = 'admin'
|
|
ON CONFLICT (role_id, permission_id) DO NOTHING;
|