Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3752

Unable to modify server roles for a WINDOWS_LOGIN user in SQL Server module

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • sqlserver
    • None
    • Hide

      Acceptance tests pass for modifying a WINDOWS_LOGIN user account

      Show
      Acceptance tests pass for modifying a WINDOWS_LOGIN user account
    • 1
    • Windows 2016-08-24

    Description

      The SQL Server module uses the IS_SRVROLEMEMBER function when modifying a user account, however if a WINDOWS_LOGIN for a user is disabled, IS_SRVROLEMEMBER always returns false. This means modifying a disabled account will fail.

      The query login template instead uses the sys.server_role_members table to determine membership which is correct.

      This ticket will modify the acceptance tests and templates to use the sys.server_role_members table instead of the IS_SRVROLEMEMBER function

      Attachments

        Issue Links

          Activity

            People

              erick Erick Banks
              glenn.sarti Glenn Sarti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support