@@ -27,7 +27,6 @@ export class ConvertSettingsStep extends AzureWizardExecuteStep<IConvertConnecti
2727 originalValue : connection . name
2828 } ) ;
2929
30- // Add role assignments to context
3130 context . roles ?. push ( {
3231 scopeId : await getScopeHelper ( context , storageAccountName , `resourceType eq 'Microsoft.Storage/storageAccounts'` ) ,
3332 roleDefinitionId : createRoleId ( context . subscriptionId , CommonRoleDefinitions . storageBlobDataOwner ) ,
@@ -49,7 +48,6 @@ export class ConvertSettingsStep extends AzureWizardExecuteStep<IConvertConnecti
4948 }
5049 ) ;
5150
52- // TODO: test these roles
5351 const scope = await getScopeHelper ( context , storageAccountName , `resourceType eq 'Microsoft.Storage/storageAccounts'` )
5452 context . roles ?. push (
5553 {
@@ -73,7 +71,6 @@ export class ConvertSettingsStep extends AzureWizardExecuteStep<IConvertConnecti
7371 originalValue : connection . name
7472 } ) ;
7573
76- // TODO: test these roles
7774 const scope = await getScopeHelper ( context , cosmosDbAccountName , `resourceType eq 'Microsoft.DocumentDB/databaseAccounts'` ) ;
7875 context . roles ?. push (
7976 {
@@ -96,7 +93,6 @@ export class ConvertSettingsStep extends AzureWizardExecuteStep<IConvertConnecti
9693 originalValue : connection . name
9794 } ) ;
9895
99- // TODO: test these roles
10096 const scope = await getScopeHelper ( context , eventHubNamespace , `resourceType eq 'Microsoft.EventHub/Namespaces'` ) ;
10197 context . roles ?. push (
10298 {
@@ -119,7 +115,6 @@ export class ConvertSettingsStep extends AzureWizardExecuteStep<IConvertConnecti
119115 originalValue : connection . name
120116 } ) ;
121117
122- // TODO: test these roles
123118 const scope = await getScopeHelper ( context , serviceBusNamespace , `resourceType eq 'Microsoft.ServiceBus/Namespaces'` ) ;
124119 context . roles ?. push (
125120 {
0 commit comments