Skip to content
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

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

richardpattinson
Copy link
Contributor

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.

@richardpattinson richardpattinson requested a review from a team as a code owner September 29, 2023 09:57
Copy link
Contributor

@thomasleese thomasleese left a 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.

lib/tasks/example_data.rake Outdated Show resolved Hide resolved
app/views/personas/index.html.erb Outdated Show resolved Hide resolved
app/views/personas/index.html.erb Show resolved Hide resolved
@richardpattinson richardpattinson force-pushed the 2262-add-verification-permission branch 5 times, most recently from b1d6284 to 09c2b62 Compare September 29, 2023 11:43
@richardpattinson richardpattinson force-pushed the 2262-add-verification-permission branch from 09c2b62 to a719315 Compare September 29, 2023 11:59
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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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).

@richardpattinson richardpattinson force-pushed the 2262-add-verification-permission branch 2 times, most recently from d4a1db7 to 39a9742 Compare September 29, 2023 13:56
@richardpattinson richardpattinson force-pushed the 2262-add-verification-permission branch from 39a9742 to bdcf71d Compare September 29, 2023 13:57
@richardpattinson richardpattinson merged commit d3c7f01 into main Oct 2, 2023
12 checks passed
@richardpattinson richardpattinson deleted the 2262-add-verification-permission branch October 2, 2023 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants