Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15381529
D12262.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
609 B
Referenced Files
None
Subscribers
None
D12262.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12262: Don't show comment draft state to non-object-owners
Attached
Detach File
Event Timeline
Log In to Comment