Skip to content

Commit

Permalink
Merge pull request #710 from bcgov/SRS-416
Browse files Browse the repository at this point in the history
Enabed forms for reviewers
  • Loading branch information
nikhila-aot authored Jun 7, 2024
2 parents 3a92895 + b7ad5e1 commit 8ce474d
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 8ce474d

Please sign in to comment.