Improve registration and verification flow#13295
Conversation
9f399e5 to
f2a4377
Compare
f2a4377 to
aad5908
Compare
aad5908 to
2d26b6b
Compare
2d385f1 to
601a03c
Compare
The resource locator fails trying to generate the path of a project without including the budget it belongs to. The error is fixed by including the redirect_path for onboarding directly as data attribute
There are no pending steps if authorizations count is 0 or the action is unauthorized
…n-flow * develop: Update UI design of detail page (#13356) Fix newsletter subscriber count (#13471) Fix editor image routing (#12683) Fix issues with the budgets proposals import (#12655) Fix initiative form is not taking into account the scope selected (#13598) Enable geolocation for address field in proposal form (#13423)
ResourceLocatorPresenter fails trying to generate the path of some resources like projects in budgets. This commit avoids the exceptions produced
|
Hi, @alecslupu , I think this PR is ready to review. I'm working on a PR which depends on it and I'm going to start with other depending on the new one. Over the past few days I've added a few commits that fix bugs and solved conflicts with develop, but the overall behavior of the functionality has remained the same. |
|
Yes, it's a bug of the dummy authorization handler when no scope is selected. I have fixed it in the next PR #13579 but I can cherry-pick the fix |
Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
|
While reviewing the functionality, when I have a meeting with external registratiions enabled, and when I click on "Register" i am being redirected to authorization screen, and after filling in the authorization data, i am being redirected to external website. IMO, if the meeting has an external registration url, maybe we could bypass the authorization? I would really like to know @decidim/product on this matter :) |
alecslupu
left a comment
There was a problem hiding this comment.
Looks Promissing. A few small changes / things to clarify.
87 / 87
...im-verifications/app/views/decidim/verifications/id_documents/authorizations/choose.html.erb
Outdated
Show resolved
Hide resolved
Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>




🎩 What? Why?
This PR improves the verification and registration flow when a user or visitant tries to make an action which requires at least one verification:
📌 Related Issues
Link your PR to an issue
Testing
As admin edit the permissions of a resource (https://decidim-lot2.populate.tools/admin/participatory_processes/branch-highway/components/5/permissions/edit?resource_id=19&resource_name=meeting)

As user visit the resource (https://decidim-lot2.populate.tools/processes/branch-highway/f/5/meetings/19). If the action is not authorized yet the message should display a "Verify your account to..." When clicking on the action the user is redirected to the verifications flow page of the action (if there are more than one verification required to complete the action)


If the user has an action with verifications pending a callout is shown with a link to the authorizations flow

The authorizations page for the action shows the authorizations required to complete the action with the status of each one (https://decidim-lot2.populate.tools/authorizations/first_login). If the user gets all the pending authorizations or completes a verification and authorization is rejected the pending flow is removed and the user is redirected to the resource with a success / failure message

