2.1 KiB
Directus Permissions Issue - SOLUTION
Problem
All 33 collections were created successfully, but the Administrator role doesn't have permissions to access them.
Root Cause
The Administrator policy (487657d9-0a0c-4bda-b5e3-7ec89bfc5488) doesn't have admin_access: true set, and we can't update it via API without already having admin access.
Solution Options
Option 1: Use Directus Admin UI (RECOMMENDED)
- Go to https://spark.jumpstartscaling.com/admin
- Login with:
- Email:
admin@sparkplatform.com - Password:
SecureAdmin2024!
- Email:
- Go to Settings → Access Control → Policies
- Find the "Administrator" policy
- Enable "Admin Access" toggle
- Save
Option 2: Direct Database Update (if UI doesn't work)
SSH into the server and run:
docker exec postgresql-cwgks4gs884c08s0s448gow0-142125598525 \
psql -U postgres -d directus \
-c "UPDATE directus_policies SET admin_access = true WHERE id = '487657d9-0a0c-4bda-b5e3-7ec89bfc5488';"
Option 3: Use the other admin user
Try logging in with the other admin account:
- Email:
somescreenname@gmail.com - Password:
Idk@2026lolhappyha232
This user might have a different policy with admin access already enabled.
What's Already Done ✅
- ✅ 33 collections created in Directus
- ✅ All fields properly defined
- ✅ Permissions granted to policy (but policy needs admin_access flag)
- ✅ Frontend-backend schema 100% aligned
After Fixing Permissions
Once admin_access is enabled, all frontend pages will work:
- Intelligence Library (avatars, geo-targeting)
- Sites, Posts, Pages management
- Content Factory
- Analytics
- All admin pages
Collections Created (33)
avatar_intelligence, avatar_variants, campaign_masters, cartesian_patterns, content_fragments, conversions, events, forms, generated_articles, generation_jobs, geo_clusters, geo_intelligence, geo_locations, globals, headline_inventory, hub_pages, image_templates, leads, link_targets, locations_cities, locations_counties, locations_states, navigation, offer_blocks, pages, pageviews, posts, production_queue, quality_flags, site_analytics, sites, spintax_dictionaries, work_log