3 final class PhabricatorConduitMethodCallLog
4 extends PhabricatorConduitDAO
5 implements PhabricatorPolicyInterface
{
8 protected $connectionID;
13 protected function getConfiguration() {
15 self
::CONFIG_COLUMN_SCHEMA
=> array(
17 'connectionID' => 'id64?',
20 'duration' => 'uint64',
21 'callerPHID' => 'phid?',
23 self
::CONFIG_KEY_SCHEMA
=> array(
25 'columns' => array('dateCreated'),
27 'key_method' => array(
28 'columns' => array('method'),
30 'key_callermethod' => array(
31 'columns' => array('callerPHID', 'method'),
34 ) + parent
::getConfiguration();
38 /* -( PhabricatorPolicyInterface )----------------------------------------- */
41 public function getCapabilities() {
43 PhabricatorPolicyCapability
::CAN_VIEW
,
47 public function getPolicy($capability) {
48 return PhabricatorPolicies
::POLICY_USER
;
51 public function hasAutomaticCapability($capability, PhabricatorUser
$viewer) {