From 24e5f7866869dbd3f5a166732bf53e68036c10f8 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 27 Dec 2019 16:06:57 +0100 Subject: [PATCH] new users are in 'all' role --- src/risotto/services/user/user.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/risotto/services/user/user.py b/src/risotto/services/user/user.py index aa7a150..b3688b0 100644 --- a/src/risotto/services/user/user.py +++ b/src/risotto/services/user/user.py @@ -21,6 +21,10 @@ class Risotto(Controller): user_login, user_name, user_surname) + await self.call('v1.user.role.create', + risotto_context, + user_login=user_login, + role_name='all') return {'user_id': user_id, 'user_login': user_login, 'user_name': user_name,