mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-02 09:35:38 -05:00
Prepopulate server roles in Login dialog (#2011)
This commit is contained in:
@@ -101,8 +101,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Security
|
||||
}
|
||||
|
||||
// TODO move this to LoginData
|
||||
// TODO support role assignment for Azure
|
||||
prototype.ServerRoles.PopulateServerRoles();
|
||||
// TODO support role assignment for Azure
|
||||
foreach (string role in login.ServerRoles ?? Enumerable.Empty<string>())
|
||||
{
|
||||
prototype.ServerRoles.SetMember(role, true);
|
||||
|
||||
Reference in New Issue
Block a user