Page MenuHomePhabricator

D12262.diff
No OneTemporary

D12262.diff

diff --git a/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php b/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
--- a/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
+++ b/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
@@ -252,6 +252,12 @@
break;
}
+ // If you don't have permission to mark the comment as "Done", you also
+ // can not see the draft state.
+ if (!$this->getCanMarkDone()) {
+ $draft_state = false;
+ }
+
if ($is_done) {
$classes[] = 'inline-is-done';
}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 8:06 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7687280
Default Alt Text
D12262.diff (609 B)

Event Timeline