Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13970593
D19592.id46830.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
698 B
Referenced Files
None
Subscribers
None
D19592.id46830.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D19592: Give PhabricatorAuthPassword a formal CAN_EDIT policy
Attached
Detach File
Event Timeline
Log In to Comment