diff --git a/app/views/personas/index.html.erb b/app/views/personas/index.html.erb
index 8f43fd42ee..50c603ea6c 100644
--- a/app/views/personas/index.html.erb
+++ b/app/views/personas/index.html.erb
@@ -11,7 +11,7 @@
<%= govuk_table do |table|
table.with_colgroup do |colgroup|
colgroup.with_col(span: 1)
- colgroup.with_col(span: 6)
+ colgroup.with_col(span: 7)
colgroup.with_col(span: 1)
end
@@ -29,6 +29,7 @@
row.with_cell(header: true, text: "Change work history")
row.with_cell(header: true, text: "Reverse decisions")
row.with_cell(header: true, text: "Support console")
+ row.with_cell(header: true, text: "Verify applicants")
row.with_cell(header: true, text: "Withdraw")
row.with_cell(header: true, text: "Actions", numeric: true)
end
@@ -44,6 +45,7 @@
row.with_cell { govuk_boolean_tag(staff.change_work_history_permission) }
row.with_cell { govuk_boolean_tag(staff.reverse_decision_permission) }
row.with_cell { govuk_boolean_tag(staff.support_console_permission) }
+ row.with_cell { govuk_boolean_tag(staff.verify_permission) }
row.with_cell { govuk_boolean_tag(staff.withdraw_permission) }
row.with_cell(numeric: true) do
diff --git a/lib/tasks/example_data.rake b/lib/tasks/example_data.rake
index a7657cb2c0..50ce3efc5a 100644
--- a/lib/tasks/example_data.rake
+++ b/lib/tasks/example_data.rake
@@ -60,6 +60,7 @@ def staff_members
change_work_history_permission: false,
reverse_decision_permission: false,
support_console_permission: false,
+ verify_permission: false,
withdraw_permission: false,
},
{
@@ -70,6 +71,7 @@ def staff_members
change_work_history_permission: false,
reverse_decision_permission: false,
support_console_permission: false,
+ verify_permission: false,
withdraw_permission: false,
},
{
@@ -80,6 +82,7 @@ def staff_members
change_work_history_permission: true,
reverse_decision_permission: true,
support_console_permission: true,
+ verify_permission: false,
withdraw_permission: true,
},
{
@@ -90,6 +93,18 @@ def staff_members
change_work_history_permission: false,
reverse_decision_permission: false,
support_console_permission: false,
+ verify_permission: false,
+ withdraw_permission: false,
+ },
+ {
+ name: "Victarion Verifier",
+ email: "victarion-verifier@example.com",
+ award_decline_permission: false,
+ change_name_permission: false,
+ change_work_history_permission: false,
+ reverse_decision_permission: false,
+ support_console_permission: false,
+ verify_permission: true,
withdraw_permission: false,
},
]
diff --git a/spec/factories/staff.rb b/spec/factories/staff.rb
index 333d83caae..8d6feea803 100644
--- a/spec/factories/staff.rb
+++ b/spec/factories/staff.rb
@@ -80,6 +80,10 @@
support_console_permission { true }
end
+ trait :with_verification_permission do
+ verify_permission { true }
+ end
+
trait :with_withdraw_permission do
withdraw_permission { true }
end