mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Limit Detach Database and Database/Server Properties to insiders and dev builds. (#23750)
This commit is contained in:
@@ -546,7 +546,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mssql.detachDatabase",
|
"command": "mssql.detachDatabase",
|
||||||
"when": "connectionProvider == MSSQL && nodeType == Database && !isCloud && !(nodePath =~ /^.*\\/System Databases\\/.*$/) && config.workbench.enablePreviewFeatures",
|
"when": "connectionProvider == MSSQL && nodeType == Database && !isCloud && !(nodePath =~ /^.*\\/System Databases\\/.*$/) && config.workbench.enablePreviewFeatures && (productQualityType =~ /^(insider|dev)$/ || isDevelopment)",
|
||||||
"group": "1_objectManagement@2"
|
"group": "1_objectManagement@2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -567,7 +567,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mssql.objectProperties",
|
"command": "mssql.objectProperties",
|
||||||
"when": "connectionProvider == MSSQL && serverInfo && !isCloud && nodeType && nodeType =~ /^(Database|Server)$/ && mssql:engineedition != 11 && config.workbench.enablePreviewFeatures",
|
"when": "connectionProvider == MSSQL && serverInfo && !isCloud && nodeType =~ /^(Database|Server)$/ && mssql:engineedition != 11 && config.workbench.enablePreviewFeatures && (productQualityType =~ /^(insider|dev)$/ || isDevelopment)",
|
||||||
"group": "z_objectexplorer@3"
|
"group": "z_objectexplorer@3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user