-- Check Directus roles and permissions
SELECT 'Directus Roles:' as info;
SELECT role, name, description FROM directus_roles;

SELECT 'Current Permissions for moderation_flags:' as info;
SELECT role, permission, collection FROM directus_permissions WHERE collection = 'moderation_flags';

SELECT 'Current Permissions for user_status_history:' as info;
SELECT role, permission, collection FROM directus_permissions WHERE collection = 'user_status_history';
