Skip to content

Commit

Permalink
Display policies in sidebar and internationalize model table
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Feb 26, 2024
1 parent dd7d212 commit 114dfbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/src/lib/components/SideBar/navData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export const navData = {
{
name: 'policies',
fa_icon: 'fa-solid fa-user',
href: '/policies'
href: '/policies',
permissions: ['view_securitymeasure']
},
{
name: 'riskMatrices',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/utils/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down

0 comments on commit 114dfbc

Please sign in to comment.