Files
amcs/migrations/100_rls_and_grants.sql
Hein (Warky) 3c1ca83dc9 feat: add agent skills and guardrails functionality
- Introduced new tools for managing agent skills and guardrails, including add, remove, and list operations.
- Updated README.md to document new commands and usage patterns for skills and guardrails.
- Enhanced server configuration to support longer read and write timeouts.
- Increased maximum upload size for files to 100 MB and adjusted related configurations.
- Created database migrations for agent skills, guardrails, and their associations with projects.
- Updated relevant code files to integrate new skills and guardrails into the application logic.
2026-03-30 23:35:54 +02:00

38 lines
1.4 KiB
SQL

-- Grant these permissions to the database role used by the application.
-- Replace amcs with the actual role in your deployment before applying.
GRANT ALL ON TABLE public.thoughts TO amcs;
GRANT ALL ON TABLE public.projects TO amcs;
GRANT ALL ON TABLE public.thought_links TO amcs;
GRANT ALL ON TABLE public.embeddings TO amcs;
-- Household Knowledge (011)
GRANT ALL ON TABLE public.household_items TO amcs;
GRANT ALL ON TABLE public.household_vendors TO amcs;
-- Home Maintenance (012)
GRANT ALL ON TABLE public.maintenance_tasks TO amcs;
GRANT ALL ON TABLE public.maintenance_logs TO amcs;
-- Family Calendar (013)
GRANT ALL ON TABLE public.family_members TO amcs;
GRANT ALL ON TABLE public.activities TO amcs;
GRANT ALL ON TABLE public.important_dates TO amcs;
-- Meal Planning (014)
GRANT ALL ON TABLE public.recipes TO amcs;
GRANT ALL ON TABLE public.meal_plans TO amcs;
GRANT ALL ON TABLE public.shopping_lists TO amcs;
-- Professional CRM (015)
GRANT ALL ON TABLE public.professional_contacts TO amcs;
GRANT ALL ON TABLE public.contact_interactions TO amcs;
GRANT ALL ON TABLE public.opportunities TO amcs;
GRANT ALL ON TABLE public.stored_files TO amcs;
GRANT ALL ON TABLE public.agent_guardrails TO amcs;
GRANT ALL ON TABLE public.agent_skills TO amcs;
GRANT ALL ON TABLE public.project_skills TO amcs;
GRANT ALL ON TABLE public.project_guardrails TO amcs;
GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO amcs;