for _, value in resources_to_operations["resources_to_operations"].items():
if value not in self.operations:
- self.operations += value
+ self.operations += [value]
if config["authentication"]["backend"] == "keystone":
self.map_from_topic_to_class["users"] = UserTopicAuth
self.upgrade_db(db_version, target_version)
# create user admin if not exist
- self.create_admin()
+ if not self.auth:
+ self.create_admin()
+
return