set proper permissions again
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user