Auto-discovers all dashboard permissions from resource/prefix matrix, creates missing ones in DB, syncs to super_admin and admin roles. Run on production after deploy or when adding new menu sections.