add virtual Command::isUserManagementCommand

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Platforms 2018-04-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      commands.cpp currently maintains a whitelist of userManagementCommands strings.
      It's only used to implement CommandHelpers::isUserManagementCommand.

      Other intrinsic command properties like 'requiresAuth' etc are performed as virtual functions.
      isUserManagementCommand should follow that pattern.

      Then the isUserManagementCommand predicate stays correct by construction.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: