diff --git a/confluent_server/confluent/config/configmanager.py b/confluent_server/confluent/config/configmanager.py index 166aaa2f..02d534a0 100644 --- a/confluent_server/confluent/config/configmanager.py +++ b/confluent_server/confluent/config/configmanager.py @@ -1625,6 +1625,8 @@ class ConfigManager(object): name = confluent.util.stringify(name) if name in self._cfgstore['users']: raise Exception("Duplicate username requested") + if role is None: + role = 'Administrator' for candrole in _validroles: if candrole.lower().startswith(role.lower()): role = candrole