{"action":"created","issue":{"url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/16","labels_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/16/comments","events_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/16/events","html_url":"https://github.com/tjwebb/sails-permissions/issues/16","id":58601928,"number":16,"title":"Cannot lift after having installed","user":{"login":"tomhallam","id":202395,"avatar_url":"https://avatars.githubusercontent.com/u/202395?v=3","gravatar_id":"","url":"https://api.github.com/users/tomhallam","html_url":"https://github.com/tomhallam","followers_url":"https://api.github.com/users/tomhallam/followers","following_url":"https://api.github.com/users/tomhallam/following{/other_user}","gists_url":"https://api.github.com/users/tomhallam/gists{/gist_id}","starred_url":"https://api.github.com/users/tomhallam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomhallam/subscriptions","organizations_url":"https://api.github.com/users/tomhallam/orgs","repos_url":"https://api.github.com/users/tomhallam/repos","events_url":"https://api.github.com/users/tomhallam/events{/privacy}","received_events_url":"https://api.github.com/users/tomhallam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T15:33:27Z","updated_at":"2015-02-24T05:50:58Z","closed_at":null,"body":"Hi there,\r\n\r\nFollowed the installation instructions, on a cleanly generated sails app, but after applying the policies to my policies.js configuration file as described, the app won't start.\r\n\r\n    error: Unknown policy, \"basicauth\", referenced in `config.policies`.\r\n\r\nAfter a bit of digging, it looks like these files aren't being copied from your \"api\" folder. I copied them over from this repository. Now I'm greeted with a new error:\r\n\r\n    Error: Collection user has an attribute named passports that is pointing to \r\n    a collection named passport which doesn't exist. You must  first create the passport collection.\r\n\r\nCan you explain this? I think this library could be really useful - really want to get it going!\r\n\r\n~T"},"comment":{"url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/comments/75703608","html_url":"https://github.com/tjwebb/sails-permissions/issues/16#issuecomment-75703608","issue_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/16","id":75703608,"user":{"login":"tjwebb","id":1009114,"avatar_url":"https://avatars.githubusercontent.com/u/1009114?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwebb","html_url":"https://github.com/tjwebb","followers_url":"https://api.github.com/users/tjwebb/followers","following_url":"https://api.github.com/users/tjwebb/following{/other_user}","gists_url":"https://api.github.com/users/tjwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwebb/subscriptions","organizations_url":"https://api.github.com/users/tjwebb/orgs","repos_url":"https://api.github.com/users/tjwebb/repos","events_url":"https://api.github.com/users/tjwebb/events{/privacy}","received_events_url":"https://api.github.com/users/tjwebb/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T05:50:58Z","updated_at":"2015-02-24T05:50:58Z","body":"Let me try to re-create. I haven't seen this, and everything passes in Travis-CI.\r\n\r\nIs the source code of project you're using this for public?"}}