summaryrefslogtreecommitdiffstats
path: root/modules/structs/repo_collaborator.go
diff options
context:
space:
mode:
authorEarl Warren <earl-warren@noreply.codeberg.org>2024-08-06 07:47:20 +0200
committerEarl Warren <earl-warren@noreply.codeberg.org>2024-08-06 07:47:20 +0200
commit517637137cd701acc863ba6f948f0857f9b36fa1 (patch)
treea2907d0cba695427b4dd933bb0f46381ac1aec06 /modules/structs/repo_collaborator.go
parentMerge pull request 'Update dependency @playwright/test to v1.46.0 (forgejo)' ... (diff)
parentchore(release-notes): weekly cherry-pick week 2024-32 (diff)
downloadforgejo-517637137cd701acc863ba6f948f0857f9b36fa1.tar.xz
forgejo-517637137cd701acc863ba6f948f0857f9b36fa1.zip
Merge pull request '[gitea] week 2024-32 cherry pick (gitea/main -> forgejo)' (#4801) from earl-warren/wcp/2024-32 into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4801 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Diffstat (limited to 'modules/structs/repo_collaborator.go')
-rw-r--r--modules/structs/repo_collaborator.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/repo_collaborator.go b/modules/structs/repo_collaborator.go
index 946a6ec7e7..7d39b5a798 100644
--- a/modules/structs/repo_collaborator.go
+++ b/modules/structs/repo_collaborator.go
@@ -5,6 +5,7 @@ package structs
// AddCollaboratorOption options when adding a user as a collaborator of a repository
type AddCollaboratorOption struct {
+ // enum: read,write,admin
Permission *string `json:"permission"`
}