Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15368550
D20754.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
929 B
Referenced Files
None
Subscribers
None
D20754.diff
View Options
diff --git a/src/applications/people/storage/PhabricatorUser.php b/src/applications/people/storage/PhabricatorUser.php
--- a/src/applications/people/storage/PhabricatorUser.php
+++ b/src/applications/people/storage/PhabricatorUser.php
@@ -59,7 +59,6 @@
private $rawCacheData = array();
private $usableCacheData = array();
- private $authorities = array();
private $handlePool;
private $csrfSalt;
@@ -705,23 +704,6 @@
}
- /**
- * Grant a user a source of authority, to let them bypass policy checks they
- * could not otherwise.
- */
- public function grantAuthority($authority) {
- $this->authorities[] = $authority;
- return $this;
- }
-
-
- /**
- * Get authorities granted to the user.
- */
- public function getAuthorities() {
- return $this->authorities;
- }
-
public function hasConduitClusterToken() {
return ($this->conduitClusterToken !== self::ATTACHABLE);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 13, 2:47 AM (17 h, 29 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7447573
Default Alt Text
D20754.diff (929 B)
Attached To
Mode
D20754: Remove the "grant authority" mechanism from users
Attached
Detach File
Event Timeline
Log In to Comment