Skip to content

Commit

Permalink
chore: add user role
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Nov 28, 2024
1 parent ca91f8f commit 990e32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/UserAccessContext/UserAccessContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const UserAccessStateContextProvider = ({

const isAdmin = roles.includes("admin");

const isViewer = roles.includes("viewer");
const isViewer = roles.includes("viewer") || roles.includes("user");

return (
<UserAccessStateContext.Provider
Expand Down

0 comments on commit 990e32a

Please sign in to comment.