Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/storage/ManiphestTask.php
Show First 20 Lines • Show All 352 Lines • ▼ Show 20 Lines | if ($owner_phid) { | ||||
if ($user_phid == $owner_phid) { | if ($user_phid == $owner_phid) { | ||||
return true; | return true; | ||||
} | } | ||||
} | } | ||||
return false; | return false; | ||||
} | } | ||||
public function describeAutomaticCapability($capability) { | |||||
return pht('The owner of a task can always view and edit it.'); | |||||
} | |||||
/* -( PhabricatorTokenReceiverInterface )---------------------------------- */ | /* -( PhabricatorTokenReceiverInterface )---------------------------------- */ | ||||
public function getUsersToNotifyOfTokenGiven() { | public function getUsersToNotifyOfTokenGiven() { | ||||
// Sort of ambiguous who this was intended for; just let them both know. | // Sort of ambiguous who this was intended for; just let them both know. | ||||
return array_filter( | return array_filter( | ||||
array_unique( | array_unique( | ||||
▲ Show 20 Lines • Show All 239 Lines • Show Last 20 Lines |