{"action":"opened","issue":{"url":"https://api.github.com/repos/jakev/dtfmods-core/issues/38","labels_url":"https://api.github.com/repos/jakev/dtfmods-core/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/jakev/dtfmods-core/issues/38/comments","events_url":"https://api.github.com/repos/jakev/dtfmods-core/issues/38/events","html_url":"https://github.com/jakev/dtfmods-core/issues/38","id":117727873,"number":38,"title":"Remove getpermissions and add platform.db","user":{"login":"jakev","id":1605856,"avatar_url":"https://avatars.githubusercontent.com/u/1605856?v=3","gravatar_id":"","url":"https://api.github.com/users/jakev","html_url":"https://github.com/jakev","followers_url":"https://api.github.com/users/jakev/followers","following_url":"https://api.github.com/users/jakev/following{/other_user}","gists_url":"https://api.github.com/users/jakev/gists{/gist_id}","starred_url":"https://api.github.com/users/jakev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakev/subscriptions","organizations_url":"https://api.github.com/users/jakev/orgs","repos_url":"https://api.github.com/users/jakev/repos","events_url":"https://api.github.com/users/jakev/events{/privacy}","received_events_url":"https://api.github.com/users/jakev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T02:32:40Z","updated_at":"2015-11-19T02:32:40Z","closed_at":null,"body":"`getpermissions` is old and simply grabs the '/system/permissions/' directory.  I'm going to add a 'platform.db' which has the following:\r\n\r\n* features (`dumpsys package f`)\r\n* libraries (`dumpsys package l`)\r\n* assign_permissions ('platform.xml' file parsing)\r\n* gid_mappings ('platform.xml' parsing)\r\n\r\nEventually, I'll be migrating much of the processing to using `dumpsys`, but this will be a good start:)"}}