-- quizzes:reset — delete one participant's attempt so the quiz is pending -- for them again. Granted to the seeded Admin role (Superadmin has '*'; -- Moderator and custom roles get it only when a superadmin adds it). UPDATE admin_roles SET permissions = array_append(permissions, 'quizzes:reset') WHERE key = 'admin' AND NOT ('quizzes:reset' = ANY(permissions));