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

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sqlserver
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      Acceptance tests pass for modifying a WINDOWS_LOGIN user account

      Show
      Acceptance tests pass for modifying a WINDOWS_LOGIN user account
    • Epic Link:
    • Story Points:
      1
    • Sprint:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support