Page MenuHomePhabricator

D19592.id46830.diff
No OneTemporary

D19592.id46830.diff

diff --git a/src/applications/auth/storage/PhabricatorAuthPassword.php b/src/applications/auth/storage/PhabricatorAuthPassword.php
--- a/src/applications/auth/storage/PhabricatorAuthPassword.php
+++ b/src/applications/auth/storage/PhabricatorAuthPassword.php
@@ -178,6 +178,7 @@
public function getCapabilities() {
return array(
PhabricatorPolicyCapability::CAN_VIEW,
+ PhabricatorPolicyCapability::CAN_EDIT,
);
}
@@ -195,7 +196,7 @@
public function getExtendedPolicy($capability, PhabricatorUser $viewer) {
return array(
- array($this->getObject(), PhabricatorPolicyCapability::CAN_VIEW),
+ array($this->getObject(), $capability),
);
}

File Metadata

Mime Type
text/plain
Expires
Oct 18 2024, 8:38 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6725916
Default Alt Text
D19592.id46830.diff (698 B)

Event Timeline