forked from zammad/zammad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroles.rb
More file actions
29 lines (28 loc) · 810 Bytes
/
roles.rb
File metadata and controls
29 lines (28 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
Role.create_if_not_exists(
id: 1,
name: __('Admin'),
note: __('To configure your system.'),
preferences: {},
default_at_signup: false,
updated_by_id: 1,
created_by_id: 1
)
Role.create_if_not_exists(
id: 2,
name: __('Agent'),
note: __('To work on Tickets.'),
default_at_signup: false,
preferences: {},
updated_by_id: 1,
created_by_id: 1
)
Role.create_if_not_exists(
id: 3,
name: __('Customer'),
note: __('People who create Tickets ask for help.'),
preferences: {},
default_at_signup: true,
updated_by_id: 1,
created_by_id: 1
)