-
Notifications
You must be signed in to change notification settings - Fork 140
User Registration Overhaul: break down #991
Comments
@pgaspar @klappradla @ramonh @carpodaster Your opinions please 🙇 |
I think this is a good plan. Thank you @F3PiX. I'll begin by having a look at #992 👍 |
Looks and sounds great 👍 Is the logic for resending the confirmation email in place and working? If yes, triggering it should be accessible for unconfirmed users as well of course - how else should they be able to confirm their account in case the lost or did not receive the initial email? Devise normally offers all the logic out of the box and the routes are already there:
I'll add double checking this to the list of Todos above. |
Thanks! Updated description. |
I also like this plan 🙌 Agree with cleaning up first, improving UX afterwards. |
Follow up issues and questions. Noted here so we don't forget to address them at due time
|
Thanks for the further breakdown! I think it should not be possible to delete your selected team mid-season. Sounds like we need to add a validation, right? |
Hi there! I’m a first-time contributor and was hoping to help out with this issue. Specifically, I could tackle one of these components to start:
-A confirmed user who changed their email address should have the yellow confirm-your-email notice after submitting the form. Currently, they don't see that. (Their status is still confirmed) Would it be okay if I work on this? |
Hi @hmesander! Welcome to the Teams App!! |
Not sure how up to date this is, but FYI: I just started looking into feature testing (and therefore probably also refactoring the registration). Just in case someone else is already on the verge of submitting a PR for this 😉 |
Continue the discussion that started in #989.
My proposal would be to first clean up the most obvious things, start building feature tests that cover all the cases/user states and user roles. Then identify if there are underlying problems left.
We need to give unconfirmed users access to update their email address, while denying access to restricted areas. That should be solved with point 2) and 3).
Bug: Unconfirmed users having access to restricted pages.
'llpushed a PR today, so we can build Allow infinite confirmation period #989 onto that. See PR Rearrange, not change the abilities in Ability #997TODO UsersController : see PR Spring cleaning users #1006
TODO TeamsController : same as ^
TODO MailingsController
TODO CommentsController
It looks like there is something missing in the authorising part of the polymorphic relations. Maybe best to see if the fixing the UsersController works before we tackle the comments.
(Please add other issues re: authorisation here)
abilities
, removing the authentication parts.Apart from all the Ability stuff, there is an underlying thingy with Devise and GH sign in and users created in the Teams form. Maybe things will be easier to maintain if we go Devise all the way. OTOH, it could be that a little cleaning up, polishing and dusting off is all that is needed. Hard to tell at this point.
@klappradla 's suggestion: Ensure that the appropriate mails are being sent.
For example: When a user is created, and when a user updates their own email.
send_devise_notification
ever triggered at all? Needs investigation.Looks like a great plan. I'd prefer not to start with the latter, do the clean up first.
Is this a plan? Are steps missing?
The text was updated successfully, but these errors were encountered: