Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NETOBSERV-901 Declare Observe section for project admins #300

Merged
merged 2 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-projectadmin",
"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 @@ -277,6 +277,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')