mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 08:45:33 +02:00
Add permission description for API to add repo collaborator (#31744)
Fix #31552.
This commit is contained in:
1 parent
a33e74d40d
commit
333c9ed8ca
2 files changed
+6
No files matched your search
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user