mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01:00
Make Passphrase Credentials Flaggable
Summary: Ref T8888, Makes Passphrase credentials flaggable. Test Plan: Flag a credential Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8888 Differential Revision: https://secure.phabricator.com/D13655
This commit is contained in:
parent
ad7760061d
commit
3937d34ca2
3 changed files with 3 additions and 0 deletions
|
@ -5060,6 +5060,7 @@ phutil_register_library_map(array(
|
|||
'PassphraseDAO',
|
||||
'PhabricatorApplicationTransactionInterface',
|
||||
'PhabricatorPolicyInterface',
|
||||
'PhabricatorFlaggableInterface',
|
||||
'PhabricatorDestructibleInterface',
|
||||
'PhabricatorSpacesInterface',
|
||||
),
|
||||
|
|
|
@ -96,6 +96,7 @@ final class PassphraseCredentialViewController extends PassphraseController {
|
|||
|
||||
$actions = id(new PhabricatorActionListView())
|
||||
->setObjectURI('/K'.$id)
|
||||
->setObject($credential)
|
||||
->setUser($viewer);
|
||||
|
||||
$can_edit = PhabricatorPolicyFilter::hasCapability(
|
||||
|
|
|
@ -4,6 +4,7 @@ final class PassphraseCredential extends PassphraseDAO
|
|||
implements
|
||||
PhabricatorApplicationTransactionInterface,
|
||||
PhabricatorPolicyInterface,
|
||||
PhabricatorFlaggableInterface,
|
||||
PhabricatorDestructibleInterface,
|
||||
PhabricatorSpacesInterface {
|
||||
|
||||
|
|
Loading…
Reference in a new issue