Add init user also to chat role.
This commit is contained in:
parent
36ed006f29
commit
0698324595
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class UsersController < ApplicationController
|
|||
group_ids = []
|
||||
role_ids = []
|
||||
if count <= 2
|
||||
Role.where( name: [ Z_ROLENAME_ADMIN, 'Agent'] ).each { |role|
|
||||
Role.where( name: [ Z_ROLENAME_ADMIN, 'Agent', 'Chat'] ).each { |role|
|
||||
role_ids.push role.id
|
||||
}
|
||||
Group.all().each { |group|
|
||||
|
|
Loading…
Reference in a new issue