{"issue":{"created_at":"2011-11-19T17:41:38Z","state":"closed","updated_at":"2011-11-23T14:20:05Z","user":{"gravatar_id":"2ec89a7c115cf65c30d0a9b31e82d6dc","id":616090,"url":"https://api.github.com/users/Evenprime","login":"Evenprime","avatar_url":"https://secure.gravatar.com/avatar/2ec89a7c115cf65c30d0a9b31e82d6dc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Just noticed this while trying to help somebody in this thread http://forums.bukkit.org/threads/problem-with-permissions.46084/.\r\n\r\nTestcase:\r\n\r\nCall \"player.isPermissionSet(...)\" for an arbitrary permission node.\r\n\r\nExpected Result:\r\n\r\nIf the permission is set to true or false (because it is written in the permissions.yml of PermissionsEx), the answer should be true or false respectively.\r\n\r\nActual result:\r\n\r\nfalse, almost all the time.\r\n\r\nAdditional info:\r\n\r\nThese are actually two problems, one is a bug, the other a related request. For one, the \"isPermissionSet(...)\" method normally returns for SuperPerms permission nodes \"true\" if the node is set to true by \"default\" for that player (in the plugin.yml), and it returns \"true\" if the node or one of its parents were explicitely assigned (\"true\" or \"false\") to the player (simplified).\r\n\r\nThe second one is that PermissionsEx returns false for this whenever the permission node is NOT a SuperPerms node. E.g. giving a player the node \"a.random.nonexisting.node\" and then asking player.isPermissionSet(\"a.random.nonexisting.node\") the answer will be false, despite player.hasPermission(\"a.random.nonexisting.node\") returning \"true\". So this second part is a request to change that and return true if the node is somehow set in PermissionsEx to a specific value.\r\n\r\nUsed configuration file:\r\n\r\n```yaml\r\npermissions:\r\n    backends:\r\n        file:\r\n            file: permissions.yml\r\n    backend: file\r\n    superperms:\r\n        parent-nodes: true\r\n        enable: true\r\n        strict-mode: false\r\n    createUserRecords: false\r\n    allowOps: false\r\n    debug: false\r\n    basedir: plugins/PermissionsEx\r\n","assignee":null,"id":2289119,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":132,"title":"player.isPermissionSet(...) returns false - always","closed_at":"2011-11-23T14:20:05Z","html_url":"https://github.com/t3hk0d3/PermissionsEx/issues/132","milestone":null,"url":"https://api.github.com/repos/t3hk0d3/PermissionsEx/issues/132"},"action":"closed"}