mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 12:37:19 -04:00
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792)
* make repo as "pending transfer" if on transfer start doer has no right to create repo in new destination * if new pending transfer ocured, create UI & Mail notifications
This commit is contained in:
parent
e0900310c4
commit
a4148c0f12
32 changed files with 898 additions and 167 deletions
|
@ -34,6 +34,8 @@ const (
|
|||
|
||||
mailNotifyCollaborator base.TplName = "notify/collaborator"
|
||||
|
||||
mailRepoTransferNotify base.TplName = "notify/repo_transfer"
|
||||
|
||||
// There's no actual limit for subject in RFC 5322
|
||||
mailMaxSubjectRunes = 256
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue