Page MenuHomePhabricator

D11632.id27995.diff
No OneTemporary

D11632.id27995.diff

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(
+ 'The creator of a transaction can always view and edit the transaction '.
+ 'so long as they have the corresponding view / edit capabilities for '.
+ 'the underyling object.');
}
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,10 @@
}
public function describeAutomaticCapability($capability) {
- // TODO: (T603) Policies are murky.
- return null;
+ return pht(
+ 'The creator of a comment can always view and edit the comment '.
+ 'so long as they have the corresponding view / edit capabilities for '.
+ 'the underyling object.');
}

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 20, 12:12 PM (4 d, 15 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8550006
Default Alt Text
D11632.id27995.diff (1 KB)

Event Timeline