Skip to content

Commit

Permalink
Merge pull request #517 from dlabrecq/unleash
Browse files Browse the repository at this point in the history
Add HCS permissions check
  • Loading branch information
Hyperkid123 committed May 23, 2024
2 parents 62df6f1 + a6bdc98 commit bd48a5d
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 7 deletions.
24 changes: 22 additions & 2 deletions static/beta/prod/navigation/subscriptions-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,33 @@
"title": "Overview",
"icon": "SubscriptionsIcon",
"href": "/subscriptions/hybrid-committed-spend",
"description": "Gain perspective on your hybrid committed spend profile with contract information, drawdown, and balance, as well as spend trends and breakdowns."
"description": "Gain perspective on your hybrid committed spend profile with contract information, drawdown, and balance, as well as spend trends and breakdowns.",
"permissions": [
{
"method": "loosePermissions",
"args": [
[
"hybrid-committed-spend:reports:read"
]
]
}
]
},
{
"id": "details",
"appId": "hybridCommittedSpend",
"title": "Details",
"href": "/subscriptions/hybrid-committed-spend/details"
"href": "/subscriptions/hybrid-committed-spend/details",
"permissions": [
{
"method": "loosePermissions",
"args": [
[
"hybrid-committed-spend:reports:read"
]
]
}
]
}
]
},
Expand Down
24 changes: 22 additions & 2 deletions static/stable/prod/navigation/subscriptions-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,33 @@
"title": "Overview",
"icon": "SubscriptionsIcon",
"href": "/subscriptions/hybrid-committed-spend",
"description": "Gain perspective on your hybrid committed spend profile with contract information, drawdown, and balance, as well as spend trends and breakdowns."
"description": "Gain perspective on your hybrid committed spend profile with contract information, drawdown, and balance, as well as spend trends and breakdowns.",
"permissions": [
{
"method": "loosePermissions",
"args": [
[
"hybrid-committed-spend:reports:read"
]
]
}
]
},
{
"id": "details",
"appId": "hybridCommittedSpend",
"title": "Details",
"href": "/subscriptions/hybrid-committed-spend/details"
"href": "/subscriptions/hybrid-committed-spend/details",
"permissions": [
{
"method": "loosePermissions",
"args": [
[
"hybrid-committed-spend:reports:read"
]
]
}
]
}
]
},
Expand Down
28 changes: 25 additions & 3 deletions static/stable/stage/navigation/subscriptions-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,38 @@
"expandable": true,
"routes": [
{
"id": "hybridCommittedSpend.overview",
"id": "hybridCommittedSpendOverview",
"appId": "hybridCommittedSpend",
"title": "Overview",
"href": "/subscriptions/hybrid-committed-spend"
"icon": "SubscriptionsIcon",
"href": "/subscriptions/hybrid-committed-spend",
"description": "Gain perspective on your hybrid committed spend profile with contract information, drawdown, and balance, as well as spend trends and breakdowns.",
"permissions": [
{
"method": "loosePermissions",
"args": [
[
"hybrid-committed-spend:reports:read"
]
]
}
]
},
{
"id": "details",
"appId": "hybridCommittedSpend",
"title": "Details",
"href": "/subscriptions/hybrid-committed-spend/details"
"href": "/subscriptions/hybrid-committed-spend/details",
"permissions": [
{
"method": "loosePermissions",
"args": [
[
"hybrid-committed-spend:reports:read"
]
]
}
]
}
]
},
Expand Down

0 comments on commit bd48a5d

Please sign in to comment.