aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/repo_collaborator.go
diff options
context:
space:
mode:
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"`
}