feat: add role negation and negate some routes to admins

This commit is contained in:
2026-06-17 22:27:03 +02:00 Unverified
parent 3315a9ce6e
commit ed0e12b1b6
4 changed files with 45 additions and 9 deletions
+3
View File
@@ -3,6 +3,9 @@ import type { CreateReportRequest } from '~/types/api'
definePageMeta({
middleware: 'auth',
auth: {
role: ['!ADMIN', '!OPERATOR']
}
})
useHead({ title: 'Nuova segnalazione - Visione' })