-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Code
-
Labels:None
-
Fully Compatible
-
Platforms 2018-04-09
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.