Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

  •  
     
    story #30021 Invite buddies to my Tuleap project
Summary
User
Invite buddies to my Tuleap project

Anyone who is invited is no longer led to a dead-end: his/her empty dashboard with nothing to do.

Nominal case

  • As project admin, I can invite a colleague in my project (private or public) : the colleague will be a project member.
  • In the invite modal, there is a new selectbox field listing all my projects. If I'm currently browsing one of them, this project is selected by default.
  • Remind the name of the project in the email and during the account creation flow (under the page title)
  • When user register with invitation email, they cannot change email
  • Remove the email confirmation (see request #29614)
    • A welcome email is still sent in background with its username
  • Redirect the newly created user to the project after their first login with a personalized welcome modal

Figma flow

Note: This depends on completion of request #29605 (refactoring of register.php should be completed to not loose our mind in the flow chart implementation). ✔️

Not covered here (in this story):

  • As a non project admin, I can only invite people on the platform, I cannot make them "pre-member" of the project.
Empty
Empty
Status
UX/UI
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#30021
Benjamin Dauton (bdauton_enalean)
2023-02-27 19:09
2023-01-02 17:06
28710

References
Referencing story #30021

Git commit

tuleap/tuleap/stable

refactor: Remove Mockery from AccountCreationFeedbackTest ecfa0fdeac
feat: Augment textarea size in invite modal b252ffc499
feat: backend to invite into project e091385eb4
refactor: Use new user data instead of the one of request 2cc6e2cadb
feat: Display pending invitations in project members 2f6846fd1d
Fix: Add "Invitation sent on" in obsolete notification be348d20bf
Collect metric about "completed" user invitations 99f2d7ffe2
fix: None should not add user invited to project 78e4baf30c
Add missing property in ProjectMemberAdderWithoutStatusCheckAndNotificationsTest 64897a9b58
fix: e2e tests for project administration cc2e1ba40f
fix: Deduplicate invited emails e13abf4979
Drop PHPCompatibility sniffs dc84acb322
refactor: replace request variable name by `project_id` 0baff3b048
feat: Allow project admin to withdraw an invitation 107e264cf0
feat: Remove invitations for suspended users 52236c9cb6
feat: Frontend to invite in a project eca757678f
fix: do not duplicate email f736684dd7
cleanup: Duplicated call to reloadUgroupBindingInProject 874d630863
feat: mention the project in the invitation email b759a81e87
refactor: Remove usage of HTTPRequest in ConfirmationPageDisplayer 859ffc9894
feat: ability to resend an invitation 489425284f
feat: Add Invite button on top of pending invitations 0c5db930da
feat: log sent invitation in project history 5dc1c0ad55
fix: Account creation feedback not sent in the right format 0fb20ae91d
feat: Redirect to project when sys_user_approval = 1 7c43290917
feat: Adjust invitation content when it is resent 48ddeecaa9
feat: warn if restricted user cannot be added as member 85ea1c64d6
feat: User with delegation can invite in project 63a8de7f03
fix: Display all events in site admin » project » history b90458d622
refactor: extract logic to send one invitation 1e6bd6e9f0
feat: cover invitation sending by some e2e tests 7e23233466
refactor: Use gettext directly in js code 0bdabc1ebe
feat: Ignore invitation for already project members e188bc0be8
feat: Confirmation modal for withdraw invitation b2f768e5a1
feat: Add invitee in project if we already know it 957b19f123
fix: wrong error message when limit is changed during the day 6dec1ca2e6
feat: display project in pending users 9da76e6447
fix: increment used invitation only if one is used 8b4b0b04b6
feat: Add user to all projects they are invited into ae9538f764
feat: display all invitations for a user b69e5c0df7
feat: comprehensive history for invitation 3d0c3bd418
refactor: Move InvitationToEmail to Tuleap\InviteBuddy namespace f054437db1
feat: Mark invitations as completed 88f6dd3eaa
fix: js error when multiple invitations 51856b28b2

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes