set proper permissions again

This commit is contained in:
Dobromir Popov
2024-05-14 13:02:10 +03:00
parent dcf42df20b
commit 780b5660fa

View File

@ -9,7 +9,7 @@ import ProtectedRoute from '../../../components/protectedRoute';
function NewPage(loc: Location) { function NewPage(loc: Location) {
return ( return (
<Layout> <Layout>
<ProtectedRoute allowedRoles={[UserRole.POWERUSER, UserRole.ADMIN]}> <ProtectedRoute allowedRoles={[UserRole.POWERUSER, UserRole.ADMIN, UserRole.USER]}>
<div className="h-5/6 grid place-items-center"> <div className="h-5/6 grid place-items-center">
<ReportForm /> <ReportForm />
</div></ProtectedRoute> </div></ProtectedRoute>