-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsettings.yml
282 lines (247 loc) · 6.88 KB
/
settings.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
case_uploads_s3_bucket: "correspondence-staff-case-uploads-testing"
case_uploads_accepted_types:
- application/pdf
- application/msword
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- application/vnd.ms-excel
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- application/vnd.oasis.opendocument.text
- text/rtf
- application/rtf
- image/jpeg
- image/png
- image/tiff
- image/bmp
- image/gif
- image/x-bitmap
attachments_presigned_url_expiry: 900
max_attachment_file_size_in_MB: 20
# These are set in run.sh
git_source: Git Source Not Available
build_date: Build Date Not Available
git_commit: Git Commit Not Available
cts_email_url: http://localhost
cts_email_port: 3000
s3_upload_max_tries: 5
rpi_jwe_key: "00f8f5a250d5f4ba" # this is replaced in deployed environments
govuk_notify_api_key: 'never-put-real-api-key-here-use-env-vars'
new_assignment_notify_template: '6f4d8e34-96cb-482c-9428-a5c1d5efa519'
ready_for_press_or_private_review_notify_template: 'fe9a1e2a-2707-4e10-bb63-aae142f10382'
reset_password_instructions_notify_template: '705029c9-d7e4-47a6-a963-944cb6d6b09c'
case_ready_to_send_notify_template: '46dc4848-5ad7-4772-9de4-dd6b6f558e5b'
redraft_requested_notify_template: '534f0e07-007f-4a48-99e4-c46a41fbd81f'
responses_sent_back_notify_template: '51ddb4e1-477d-496f-a131-e500c0bc351e'
message_received_notify_template: '55d7abbc-9042-4646-8835-35a1b2e432c4'
assigned_to_another_user_template: '1e26c707-e7e3-4b21-835d-1241da6ea251'
unlock_user_account_template: '9910545b-1b46-41d1-a5e3-f8b31ff450c0'
case_closed_notify_template: '0f89383e-cee2-4a10-bc47-97879d1f6dc4'
commissioning_notify_template: '94b66c61-feff-42f5-950d-d0af0a8205ef'
commissioning_notify_reply_to: '879d54cc-a5f3-4acc-aa37-ca04e8f6c22d'
rpi_template: '5e63f6c1-e7d6-47da-845c-fa47343ab882'
emails:
branston: [email protected]
disclosure: [email protected]
foi_cases:
default_managing_team: DISCLOSURE-BMT
default_clearance_team: DISCLOSURE
sar_cases:
default_managing_team: DISCLOSURE-BMT
default_clearance_team: DISCLOSURE
ico_cases:
default_managing_team: DISCLOSURE-BMT
default_clearance_team: DISCLOSURE
overturned_foi_cases:
default_managing_team: DISCLOSURE-BMT
default_clearance_team: DISCLOSURE
overturned_sar_cases:
default_managing_team: DISCLOSURE-BMT
default_clearance_team: DISCLOSURE
offender_sar_cases:
default_managing_team: BRANSTON
default_clearance_team: BRANSTON
pit_extension_limit: 20
sar_extension_default_gap: 30
sar_extension_default_limit: 60
default_date_format: '%-d %b %Y'
default_time_format: '%d %b %Y %H:%M'
press_office_team_name: Press Office
private_office_team_name: Private Office
press_office_team_code: PRESS-OFFICE
private_office_team_code: PRIVATE-OFFICE
homepage_navigation:
pages:
incoming_cases:
path: /cases/incoming
visibility: approver
scope:
'DISCLOSURE': incoming_approving_cases
'PRESS-OFFICE': incoming_cases_press_office
'PRIVATE-OFFICE': incoming_cases_private_office
open_cases:
path: /cases/open
scope:
approver: open_flagged_for_approval
manager: open_cases
responder: open_cases
my_open_cases:
path: /cases/my_open
scope:
approver: my_open_flagged_for_approval_cases
manager: my_open_cases
responder: my_open_cases
tabs:
in_time:
scope: in_time_cases
late:
scope: late_cases
closed_cases:
path: /cases/closed
scope: closed_cases
rrd_pending:
path: /cases/retention
scope: retention_cases
visibility:
- team_admin
tabs:
ready_for_removal:
scope: erasable_cases
pending_removal:
scope: triagable_cases
global_navigation:
default_urls:
approver: /cases/open
manager: /cases/open
responder: /cases/open
team_admin: /teams
pages:
create_case:
path: /cases/new
visibility:
- manager
- BRANSTON
incoming_cases:
path: /cases/incoming
visibility: approver
scope:
'DISCLOSURE': incoming_approving_cases
'PRESS-OFFICE': incoming_cases_press_office
'PRIVATE-OFFICE': incoming_cases_private_office
open_cases:
path: /cases/open
scope:
approver: open_flagged_for_approval
manager: open_cases
responder: open_cases
my_open_cases:
path: /cases/my_open
scope:
approver: my_open_flagged_for_approval_cases
manager: my_open_cases
responder: my_open_cases
tabs:
in_time:
scope: in_time_cases
late:
scope: late_cases
closed_cases:
path: /cases/closed
scope: closed_cases
search_cases:
path: /cases/search
teams:
path: /teams
stats:
path: /stats
visibility:
- manager
- responder
system_admin:
path: /admin
visibility:
- admin
addresses:
path: /contacts
visibility:
- BRANSTON
rrd_pending:
path: /cases/retention
scope: retention_cases
visibility:
- team_admin
tabs:
ready_for_removal:
scope: erasable_cases
pending_removal:
scope: triagable_cases
tabs:
in_time:
params:
timeliness: in_time
late:
params:
timeliness: late
structure:
'DISCLOSURE':
incoming_cases_dacu_disclosure: default
open_cases:
my_open_cases:
closed_cases:
search_cases:
teams:
'PRESS-OFFICE':
incoming_cases_press_office: default
open_cases:
my_open_cases:
closed_cases:
search_cases:
teams:
'PRIVATE-OFFICE':
incoming_cases_private_office: default
open_cases:
my_open_cases:
closed_cases:
search_cases:
teams:
'manager':
open_cases:
my_open_cases:
closed_cases:
search_cases:
teams:
stats:
'*':
open_cases:
my_open_cases:
closed_cases:
search_cases:
teams:
enabled_features:
# A tempory feature flag to hide editing functionality on overturneds until the feature is built
edit_overturned:
Local: false
Host-dev: false
Host-staging: false
Host-qa: false
Host-prod: false
# Before enabling a host, make sure the necessary ENV variables are exposed in the environment
# through config_map / secrets. Refer to `config/initializers/devise.rb`, omniauth section.
devise_azure_activedirectory:
Local: true
Host-dev: true
Host-staging: true
Host-qa: true
Host-prod: false
email_commissioning_document:
Local: true
Host-dev: true
Host-staging: true
Host-qa: true
Host-prod: true
# Timing definitions for RetentionSchedule (GDPR / DPA)
retention_timings:
common:
viewable_from: 4
off_sars:
erasure:
years: 8
months: 6