Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18704748
D20754.id49483.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.id49483.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
Mon, Sep 29, 8:39 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8820167
Default Alt Text
D20754.id49483.diff (929 B)
Attached To
Mode
D20754: Remove the "grant authority" mechanism from users
Attached
Detach File
Event Timeline
Log In to Comment