Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14614927
D19977.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
731 B
Referenced Files
None
Subscribers
None
D19977.diff
View Options
diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -1677,6 +1677,9 @@
// You need CAN_EDIT to change members other than yourself.
return PhabricatorPolicyCapability::CAN_EDIT;
+ case PhabricatorObjectHasWatcherEdgeType::EDGECONST:
+ // See PHI1024. Watching a project does not require CAN_EDIT.
+ return null;
default:
return PhabricatorPolicyCapability::CAN_EDIT;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 3:25 PM (15 h, 33 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6983181
Default Alt Text
D19977.diff (731 B)
Attached To
Mode
D19977: Don't require "CAN_EDIT" to watch/unwatch a project
Attached
Detach File
Event Timeline
Log In to Comment