Skip to content

Commit

Permalink
Enabed forms for reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
midhun-aot committed Jun 7, 2024
1 parent 3a92895 commit b7ad5e1
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,20 @@ const PrivateRoute = React.memo((props) => {
)}

{ENABLE_FORMS_MODULE && userRoles.includes(STAFF_REVIEWER) && (
<Route
path={[`${BASE_ROUTE}form`, `${BASE_ROUTE}bundle`]}
component={Form}
/>
)}

{/* {ENABLE_FORMS_MODULE && userRoles.includes(STAFF_REVIEWER) && (
<Route
path={[`${BASE_ROUTE}form`, `${BASE_ROUTE}bundle`]}
component={Form}
>
<Redirect exact to="/403" />
</Route>
)}
)} */}

{ENABLE_FORMS_MODULE && !userRoles.includes(STAFF_REVIEWER) && (
<Route
Expand Down

0 comments on commit b7ad5e1

Please sign in to comment.