gitforge/templates/org
Antonin Delpeuch c99b35cfa4 feat: setting to add team members by invitations (#12845)
Fixes #12564. Fixes #8951.

This introduces a new setting, `ADD_MEMBERS_BY_INVITATIONS`, which is turned off by default.
When turned on, adding a user to a team issues an invitation instead of adding them directly to the team.
A prerequisite for this work was to be able to link invitations to existing users (so far, they were only associated to an email address, since those invitations were meant to be issued to users who didn't have an account yet).

---

I plan to work on the following improvements, which I propose to do in separate PRs given that this one is already a bit big:
* generate an in-app notification for the invited user
* advertise the invitation to the invited user from the org page as well (#12120)
* show the list of invited users in the list of organization members (not just on the team page)

and various other improvements to invitations (#12570, #12716).

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12845
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-06-15 01:46:25 +02:00
..
member feat: setting to add team members by invitations (#12845) 2026-06-15 01:46:25 +02:00
projects
settings feat: in-browser validation of website URLs for user, repository, and organization profiles (#12991) 2026-06-08 17:35:15 +02:00
team feat: setting to add team members by invitations (#12845) 2026-06-15 01:46:25 +02:00
create.tmpl feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
follow_unfollow.tmpl feat(ui): implement new buttons for better cohesiveness (#9359) 2025-10-05 05:22:32 +02:00
header.tmpl feat(ui): allow dropdown to contain not just items (#9951) 2025-11-05 05:00:15 +01:00
home.tmpl feat(ui): implement new buttons for better cohesiveness (#9359) 2025-10-05 05:22:32 +02:00
menu.tmpl