Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14098246
D11632.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11632.id.diff
View Options
diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
--- a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
+++ b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
@@ -1140,8 +1140,10 @@
}
public function describeAutomaticCapability($capability) {
- // TODO: (T603) Exact policies are unclear here.
- return null;
+ return pht(
+ 'Transactions are visible to users that can see the object which was '.
+ 'acted upon. Some transactions - in particular, comments - are '.
+ 'editable by the transaction author.');
}
diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php b/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php
--- a/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php
+++ b/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php
@@ -143,8 +143,9 @@
}
public function describeAutomaticCapability($capability) {
- // TODO: (T603) Policies are murky.
- return null;
+ return pht(
+ 'Comments are visible to users who can see the object which was '.
+ 'commented on. Comments can be edited by their authors.');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 8:44 AM (12 h, 15 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6792946
Default Alt Text
D11632.id.diff (1 KB)
Attached To
Mode
D11632: Policy - add an explanation for automatic capabilities for transactions and transaction comments
Attached
Detach File
Event Timeline
Log In to Comment