diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 1e4a575898..67bb02d749 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -5060,6 +5060,7 @@ phutil_register_library_map(array( 'PassphraseDAO', 'PhabricatorApplicationTransactionInterface', 'PhabricatorPolicyInterface', + 'PhabricatorFlaggableInterface', 'PhabricatorDestructibleInterface', 'PhabricatorSpacesInterface', ), diff --git a/src/applications/passphrase/controller/PassphraseCredentialViewController.php b/src/applications/passphrase/controller/PassphraseCredentialViewController.php index f9cc193dbf..ede3bab78f 100644 --- a/src/applications/passphrase/controller/PassphraseCredentialViewController.php +++ b/src/applications/passphrase/controller/PassphraseCredentialViewController.php @@ -96,6 +96,7 @@ final class PassphraseCredentialViewController extends PassphraseController { $actions = id(new PhabricatorActionListView()) ->setObjectURI('/K'.$id) + ->setObject($credential) ->setUser($viewer); $can_edit = PhabricatorPolicyFilter::hasCapability( diff --git a/src/applications/passphrase/storage/PassphraseCredential.php b/src/applications/passphrase/storage/PassphraseCredential.php index 90eb32725d..3ad1351061 100644 --- a/src/applications/passphrase/storage/PassphraseCredential.php +++ b/src/applications/passphrase/storage/PassphraseCredential.php @@ -4,6 +4,7 @@ final class PassphraseCredential extends PassphraseDAO implements PhabricatorApplicationTransactionInterface, PhabricatorPolicyInterface, + PhabricatorFlaggableInterface, PhabricatorDestructibleInterface, PhabricatorSpacesInterface {