fix(issuerpc): list only issues opened by users with write access (#1830)
Adds Issue.Author to the forge contract; the daemon drops issues from authors without write access and fails the listing closed when the forge cannot answer.
This commit is contained in:
6 files changed
+108
-3
No files matched your search
@@ -15,6 +15,8 @@ type Issue struct {
|
||||
Title string
|
||||
Body string
|
||||
Labels []string
|
||||
// Author is the login that opened the issue.
|
||||
Author string
|
||||
}
|
||||
|
||||
// Forge is the interface for interacting with a git host.
|
||||
|
||||
Reference in new issue
Block a user