From 4aedc206c727b88fb071fdcc6c8488b58b8cdfc0 Mon Sep 17 00:00:00 2001 From: ekubischta Date: Sun, 9 Oct 2022 03:17:22 -0700 Subject: [PATCH] Update PassphraseCredential to support Mentions Summary: This revision allows us to see where passphrase credentials are mentioned in other parts of phabricator This is very useful to "What is this credential for?" If we can see where it was been mentioned Test Plan: Mentioned a passphrase and saw it in the transaction list Reviewers: O1 Blessed Committers, Matthew Reviewed By: O1 Blessed Committers, Matthew Subscribers: Matthew, Cigaryno, speck, tobiaswiese, valerio.bozzolan Differential Revision: https://we.phorge.it/D25032 --- src/__phutil_library_map__.php | 1 + src/applications/passphrase/storage/PassphraseCredential.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 02353b32c1..fec9ac13dc 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -8401,6 +8401,7 @@ phutil_register_library_map(array( 'PhabricatorApplicationTransactionInterface', 'PhabricatorPolicyInterface', 'PhabricatorFlaggableInterface', + 'PhabricatorMentionableInterface', 'PhabricatorSubscribableInterface', 'PhabricatorDestructibleInterface', 'PhabricatorSpacesInterface', diff --git a/src/applications/passphrase/storage/PassphraseCredential.php b/src/applications/passphrase/storage/PassphraseCredential.php index c470ea661f..d180fc6b31 100644 --- a/src/applications/passphrase/storage/PassphraseCredential.php +++ b/src/applications/passphrase/storage/PassphraseCredential.php @@ -5,6 +5,7 @@ final class PassphraseCredential extends PassphraseDAO PhabricatorApplicationTransactionInterface, PhabricatorPolicyInterface, PhabricatorFlaggableInterface, + PhabricatorMentionableInterface, PhabricatorSubscribableInterface, PhabricatorDestructibleInterface, PhabricatorSpacesInterface,