Skip to content

Commit

Permalink
Merge pull request #747 from Andrewgdewar/templatesFeatureFlagUpdate
Browse files Browse the repository at this point in the history
Add feature flag for template feature swap
  • Loading branch information
Hyperkid123 authored Jan 2, 2025
2 parents 9eb7434 + b608a5b commit e31a43b
Showing 1 changed file with 30 additions and 40 deletions.
70 changes: 30 additions & 40 deletions static/stable/prod/navigation/rhel-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,52 +276,42 @@
],
"permissions": [
{
"method": "isBeta"
},
{
"method": "withEmail",
"args": [
"adewar+rhn@redhat.com",
"bhouse+1@redhat.com",
"jsherril+eng@redhat.com",
"swadeley+eng@redhat.com",
"smcdowel@redhat.com"
]
"method": "featureFlag",
"args": ["patchman-ui.template-update.enabled", true]
}
],
"description": "Create content templates for use with systems."
},
{
"title": "Patch",
"id": "patch",
"expandable": true,
"routes": [
{
"id": "patchSystems",
"appId": "patch",
"title": "Systems",
"href": "/insights/patch/systems",
"product": "Red Hat Insights",
"description": "View applicable advisories and updates for your Red Hat Enterprise Linux systems.",
"alt_title": [
"Patch",
"content",
"advisories",
"insights",
"Rhel",
"patch",
"updates",
"update",
"systems",
"upgrade"
]
},
"id": "patchSystems",
"appId": "patch",
"title": "Systems",
"href": "/insights/patch/systems",
"product": "Red Hat Insights",
"description": "View applicable advisories and updates for your Red Hat Enterprise Linux systems.",
"alt_title": [
"Patch",
"content",
"advisories",
"insights",
"Rhel",
"patch",
"updates",
"update",
"systems",
"upgrade"
]
},
{
"id": "patchTemplates",
"appId": "patch",
"title": "Templates",
"href": "/insights/patch/templates",
"product": "Red Hat Insights",
"permissions": [
{
"id": "patchTemplates",
"appId": "patch",
"title": "Templates",
"href": "/insights/patch/templates",
"product": "Red Hat Insights"
"method": "featureFlag",
"args": ["patchman-ui.template-update.enabled", false]
}
]
}
Expand Down

0 comments on commit e31a43b

Please sign in to comment.