Skip to content

Commit

Permalink
fix(permissions): modification of roles allowed to access contributio…
Browse files Browse the repository at this point in the history
…n routes
  • Loading branch information
folland87 committed Mar 14, 2023
1 parent c51f9a6 commit d34edea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function Routes() {
<Route path="nomenclatures/types-de-mail" element={<AdminNomenclaturesPage route="/email-types" title="Types d'email" />} />
</Route>
</Route>
<Route element={<ProtectedRoute roles={['admin', 'users']} />}>
<Route element={<ProtectedRoute roles={['admin', 'user']} />}>
<Route path="/structures/ajouter" element={<StructureAddPage />} />
<Route path="/categories/ajouter" element={<CategoriesAddPage />} />
<Route path="/personnes/ajouter" element={<PersonAddPage />} />
Expand Down

0 comments on commit d34edea

Please sign in to comment.