[WEB-2543] chore: workspace inbox guest permission (#5695)
* chore: workspace inbox permission updated * chore: workspace inbox permission updated * chore: code refactor * chore: code refactor
This commit is contained in:
parent
85f7483b1b
commit
22623fad33
4 changed files with 10 additions and 9 deletions
|
|
@ -325,7 +325,7 @@ export const SIDEBAR_USER_MENU_ITEMS: {
|
|||
key: "notifications",
|
||||
label: "Inbox",
|
||||
href: `/notifications`,
|
||||
access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER],
|
||||
access: [EUserPermissions.ADMIN, EUserPermissions.MEMBER, EUserPermissions.GUEST],
|
||||
highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/notifications/`),
|
||||
Icon: Inbox,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue