Fixed default customer permissions.
This commit is contained in:
parent
2f2121d794
commit
f643acfa94
1 changed files with 4 additions and 1 deletions
|
@ -2492,7 +2492,10 @@ agent.permission_grand('chat.agent')
|
||||||
agent.permission_grand('cti.agent')
|
agent.permission_grand('cti.agent')
|
||||||
|
|
||||||
customer = Role.find_by(name: 'Customer')
|
customer = Role.find_by(name: 'Customer')
|
||||||
customer.permission_grand('user_preferences')
|
customer.permission_grand('user_preferences.password')
|
||||||
|
customer.permission_grand('user_preferences.language')
|
||||||
|
customer.permission_grand('user_preferences.linked_accounts')
|
||||||
|
customer.permission_grand('user_preferences.avatar')
|
||||||
customer.permission_grand('ticket.customer')
|
customer.permission_grand('ticket.customer')
|
||||||
|
|
||||||
Group.create_if_not_exists(
|
Group.create_if_not_exists(
|
||||||
|
|
Loading…
Reference in a new issue