Make "My Drafts" limited to own drafts

The query "is:draft" also returns other users' drafts if the current
user has the "View Drafts" capability.

Limit it to the user's own changes by adding the "owner:self" clause.

Change-Id: Ib144e447687ae1d6fd99d34e108abb8a2f79e606
This commit is contained in:
David Pursehouse
2015-01-19 11:33:04 +09:00
parent 6d3411fe3f
commit abc1296cd4
5 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ matches the search, the change will be presented instead of a list.
|All > Open | status:open '(or is:open)'
|All > Merged | status:merged
|All > Abandoned | status:abandoned
|My > Drafts | is:draft
|My > Drafts | owner:self is:draft
|My > Watched Changes | status:open is:watched
|My > Starred Changes | is:starred
|My > Draft Comments | has:draft