{"action":"opened","number":423,"pull_request":{"review_comments":0,"state":"open","created_at":"2011-11-25T01:17:31Z","patch_url":"https://github.com/Bukkit/Bukkit/pull/423.patch","updated_at":"2011-11-25T01:17:32Z","changed_files":6,"_links":{"review_comments":{"href":"https://api.github.com/repos/Bukkit/Bukkit/pulls/423/comments"},"comments":{"href":"https://api.github.com/repos/Bukkit/Bukkit/issues/423/comments"},"html":{"href":"https://github.com/Bukkit/Bukkit/pull/423"},"self":{"href":"https://api.github.com/repos/Bukkit/Bukkit/pulls/423"}},"user":{"gravatar_id":"2320ab48d0715a4e9c73b7ec13fd6f3a","id":629092,"url":"https://api.github.com/users/zml2008","login":"zml2008","avatar_url":"https://secure.gravatar.com/avatar/2320ab48d0715a4e9c73b7ec13fd6f3a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"issue_url":"https://github.com/Bukkit/Bukkit/issues/423","body":"    Permissions can be registered in the global context (null world), but are overridden by world-specific permissions. Permissible.hasPermission() first checks the world, if the permissible is an Entity, and then checks globally. I also removed some unnecessary and expensive recalculatePermissions() calls.\r\n    This change to allow permissions to be registered for all worlds at once, even unloaded worlds, so that permissions managers have to listen to fewer events and only have to update permissions when they are actually changed and when the player joins, reducing load when players are switching worlds. Plugins can also check permissions for specific worlds, which is used in, as an example, CommandBook, to check whether a player can teleport in their target world, not just the world they currently reside in.","deletions":29,"merged":false,"mergeable":null,"commits":1,"id":527685,"base":{"user":{"gravatar_id":"cafe4b8d296dd981f519b7789b9159de","id":544609,"url":"https://api.github.com/users/Bukkit","login":"Bukkit","avatar_url":"https://secure.gravatar.com/avatar/cafe4b8d296dd981f519b7789b9159de?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"repo":{"pushed_at":"2011-11-24T20:16:31Z","created_at":"2011-01-02T23:47:25Z","updated_at":"2011-11-24T23:16:22Z","private":false,"clone_url":"https://github.com/Bukkit/Bukkit.git","watchers":858,"name":"Bukkit","svn_url":"https://svn.github.com/Bukkit/Bukkit","master_branch":null,"language":"Java","forks":359,"owner":{"gravatar_id":"cafe4b8d296dd981f519b7789b9159de","id":544609,"url":"https://api.github.com/users/Bukkit","login":"Bukkit","avatar_url":"https://secure.gravatar.com/avatar/cafe4b8d296dd981f519b7789b9159de?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"id":1215215,"homepage":"http://bukkit.org","git_url":"git://github.com/Bukkit/Bukkit.git","description":"The Minecraft Mod API","html_url":"https://github.com/Bukkit/Bukkit","size":2616,"fork":false,"url":"https://api.github.com/repos/Bukkit/Bukkit","ssh_url":"git@github.com:Bukkit/Bukkit.git","open_issues":57},"sha":"b2e91c6cc41d2cce07a0450ca895f6523d30cf9e","ref":"master","label":"Bukkit:master"},"additions":305,"number":423,"merged_by":null,"head":{"user":{"gravatar_id":"2320ab48d0715a4e9c73b7ec13fd6f3a","id":629092,"url":"https://api.github.com/users/zml2008","login":"zml2008","avatar_url":"https://secure.gravatar.com/avatar/2320ab48d0715a4e9c73b7ec13fd6f3a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"repo":{"pushed_at":"2011-11-24T04:37:13Z","created_at":"2011-07-18T22:48:58Z","updated_at":"2011-11-24T04:37:15Z","private":false,"clone_url":"https://github.com/zml2008/Bukkit.git","watchers":1,"name":"Bukkit","svn_url":"https://svn.github.com/zml2008/Bukkit","master_branch":null,"language":"Java","forks":0,"owner":{"gravatar_id":"2320ab48d0715a4e9c73b7ec13fd6f3a","id":629092,"url":"https://api.github.com/users/zml2008","login":"zml2008","avatar_url":"https://secure.gravatar.com/avatar/2320ab48d0715a4e9c73b7ec13fd6f3a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2069286,"homepage":"http://bukkit.org","git_url":"git://github.com/zml2008/Bukkit.git","description":"The Minecraft Mod API","html_url":"https://github.com/zml2008/Bukkit","size":148,"fork":true,"url":"https://api.github.com/repos/zml2008/Bukkit","ssh_url":"git@github.com:zml2008/Bukkit.git","open_issues":0},"sha":"c3436aaad2ede9c7464a94ac5c6856ec67abb93e","ref":"perworldperms","label":"zml2008:perworldperms"},"title":"Added ability for plugins to check permissions for players per-world.","closed_at":null,"html_url":"https://github.com/Bukkit/Bukkit/pull/423","url":"https://api.github.com/repos/Bukkit/Bukkit/pulls/423","diff_url":"https://github.com/Bukkit/Bukkit/pull/423.diff","merged_at":null}}