new users are in 'all' role

This commit is contained in:
Emmanuel Garette 2019-12-27 16:06:57 +01:00
parent 5b1cae1567
commit 24e5f78668
1 changed files with 4 additions and 0 deletions

View File

@ -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,