mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 15:05:50 +01:00
Add TODO.
This commit is contained in:
@@ -80,9 +80,11 @@ trait IssuesControllerBase extends ControllerBase {
|
|||||||
val owner = params("owner")
|
val owner = params("owner")
|
||||||
val repository = params("repository")
|
val repository = params("repository")
|
||||||
|
|
||||||
|
// TODO User and milestone are assigned by only collaborators.
|
||||||
val issueId = createIssue(owner, repository, context.loginAccount.get.userName,
|
val issueId = createIssue(owner, repository, context.loginAccount.get.userName,
|
||||||
form.title, form.content, form.assignedUserName, form.milestoneId)
|
form.title, form.content, form.assignedUserName, form.milestoneId)
|
||||||
|
|
||||||
|
// TODO labels are assigned by only collaborators
|
||||||
form.labelNames.map { value =>
|
form.labelNames.map { value =>
|
||||||
val labels = getLabels(owner, repository)
|
val labels = getLabels(owner, repository)
|
||||||
value.split(",").foreach { labelName =>
|
value.split(",").foreach { labelName =>
|
||||||
|
|||||||
Reference in New Issue
Block a user