Skip to content

Commit

Permalink
NETOBSERV-901 Declare Observe section for project admins
Browse files Browse the repository at this point in the history
  • Loading branch information
jotak committed Mar 3, 2023
1 parent a71223a commit 7876051
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions web/console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,27 @@
"href": "/netflow-traffic"
}
},
{
"type": "console.navigation/section",
"properties": {
"perspective": "admin",
"id": "observe-projectadmin",
"insertBefore": ["compute", "usermanagement"],
"name": "%plugin__netobserv-plugin~Observe%"
},
"flags": { "disallowed": ["CAN_LIST_NS"] }
},
{
"type": "console.navigation/href",
"properties": {
"id": "netflow-traffic-link-projectadmin",
"perspective": "admin",
"section": "observe-netobserv",
"name": "%plugin__netobserv-plugin~Network Traffic%",
"href": "/netflow-traffic"
},
"flags": { "disallowed": ["CAN_LIST_NS"] }
},
{
"type": "console.page/route",
"properties": {
Expand Down
1 change: 1 addition & 0 deletions web/locales/en/plugin__netobserv-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@
"Results": "Results",
"Query summary": "Query summary",
"Find in view": "Find in view",
"Observe": "Observe",
"External": "External",
"Unknown": "Unknown",
"Names": "Names",
Expand Down
1 change: 1 addition & 0 deletions web/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
// labels declared in console-extensions.json are added to the message catalog.

// t('plugin__netobserv-plugin~Network Traffic')
// t('plugin__netobserv-plugin~Observe')

0 comments on commit 7876051

Please sign in to comment.