new users are in 'all' role
This commit is contained in:
parent
5b1cae1567
commit
24e5f78668
|
@ -21,6 +21,10 @@ class Risotto(Controller):
|
||||||
user_login,
|
user_login,
|
||||||
user_name,
|
user_name,
|
||||||
user_surname)
|
user_surname)
|
||||||
|
await self.call('v1.user.role.create',
|
||||||
|
risotto_context,
|
||||||
|
user_login=user_login,
|
||||||
|
role_name='all')
|
||||||
return {'user_id': user_id,
|
return {'user_id': user_id,
|
||||||
'user_login': user_login,
|
'user_login': user_login,
|
||||||
'user_name': user_name,
|
'user_name': user_name,
|
||||||
|
|
Loading…
Reference in New Issue