-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2262 add verification permission #1727
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality looks good, I've just got a few small comments on the naming.
db/migrate/20230929084821_add_verification_permission_to_staff_users.rb
Outdated
Show resolved
Hide resolved
b1d6284
to
09c2b62
Compare
09c2b62
to
a719315
Compare
app/views/personas/index.html.erb
Outdated
colgroup.with_col(span: 1) | ||
end | ||
|
||
table.with_head do |head| | ||
head.with_row do |row| | ||
row.with_cell(scope: false) | ||
row.with_cell(header: true, text: "Permissions", colspan: 5) | ||
row.with_cell(header: true, text: "Permissions", colspan: 6) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
row.with_cell(header: true, text: "Permissions", colspan: 6) | |
row.with_cell(header: true, text: "Permissions", colspan: 7) |
I actually think this needs to be 7 because there are 7 permission columns (I think the value of 5 before was incorrect).
d4a1db7
to
39a9742
Compare
39a9742
to
bdcf71d
Compare
We need a new permission for staff users which captures whether they’ve got access to do new verification journey.
Added a migration to store the new permission on the staff model, and update the support console/example data to support this new permission.