diff --git a/frontend/src/lib/components/SideBar/navData.ts b/frontend/src/lib/components/SideBar/navData.ts index 57f31f242..dd6a5b0a3 100644 --- a/frontend/src/lib/components/SideBar/navData.ts +++ b/frontend/src/lib/components/SideBar/navData.ts @@ -65,7 +65,8 @@ export const navData = { { name: 'policies', fa_icon: 'fa-solid fa-user', - href: '/policies' + href: '/policies', + permissions: ['view_securitymeasure'] }, { name: 'riskMatrices', diff --git a/frontend/src/lib/utils/table.ts b/frontend/src/lib/utils/table.ts index 6465c6903..8c134a025 100644 --- a/frontend/src/lib/utils/table.ts +++ b/frontend/src/lib/utils/table.ts @@ -48,7 +48,7 @@ export const listViewFields = { body: ['name', 'description', 'category', 'eta', 'folder', 'security_function'] }, policies: { - head: ['Name', 'Description', 'ETA', 'Domain', 'Security function'], + head: ['name', 'description', 'eta', 'domain', 'securityFunction'], body: ['name', 'description', 'eta', 'folder', 'security_function'] }, 'security-functions': {