mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 02:48:36 -05:00
Add explicit CREATE TABLE permission check for table designer (#2128)
This commit is contained in:
@@ -12916,6 +12916,16 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.NonClusteredColumnStoreIndexMustHaveColumnsRuleDescription, indexName);
|
||||
}
|
||||
|
||||
public static string TableDesignerCreateTablePermissionDenied(string db)
|
||||
{
|
||||
return Keys.GetString(Keys.TableDesignerCreateTablePermissionDenied, db);
|
||||
}
|
||||
|
||||
public static string TableDesignerAlterTablePermissionDenied(string table)
|
||||
{
|
||||
return Keys.GetString(Keys.TableDesignerAlterTablePermissionDenied, table);
|
||||
}
|
||||
|
||||
public static string SqlProjectModelNotFound(string projectUri)
|
||||
{
|
||||
return Keys.GetString(Keys.SqlProjectModelNotFound, projectUri);
|
||||
@@ -16871,6 +16881,12 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string TableDesignerConfirmationText = "TableDesignerConfirmationText";
|
||||
|
||||
|
||||
public const string TableDesignerCreateTablePermissionDenied = "TableDesignerCreateTablePermissionDenied";
|
||||
|
||||
|
||||
public const string TableDesignerAlterTablePermissionDenied = "TableDesignerAlterTablePermissionDenied";
|
||||
|
||||
|
||||
public const string SqlProjectModelNotFound = "SqlProjectModelNotFound";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user