{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1821","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1821/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1821/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1821/events","html_url":"https://github.com/strongloop/loopback/issues/1821","id":117342671,"number":1821,"title":"Default scope condition overrides default value","user":{"login":"geekguy","id":3037036,"avatar_url":"https://avatars.githubusercontent.com/u/3037036?v=3","gravatar_id":"","url":"https://api.github.com/users/geekguy","html_url":"https://github.com/geekguy","followers_url":"https://api.github.com/users/geekguy/followers","following_url":"https://api.github.com/users/geekguy/following{/other_user}","gists_url":"https://api.github.com/users/geekguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekguy/subscriptions","organizations_url":"https://api.github.com/users/geekguy/orgs","repos_url":"https://api.github.com/users/geekguy/repos","events_url":"https://api.github.com/users/geekguy/events{/privacy}","received_events_url":"https://api.github.com/users/geekguy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/doc","name":"doc","color":"d4c5f9"},{"url":"https://api.github.com/repos/strongloop/loopback/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"loay","id":1986928,"avatar_url":"https://avatars.githubusercontent.com/u/1986928?v=3","gravatar_id":"","url":"https://api.github.com/users/loay","html_url":"https://github.com/loay","followers_url":"https://api.github.com/users/loay/followers","following_url":"https://api.github.com/users/loay/following{/other_user}","gists_url":"https://api.github.com/users/loay/gists{/gist_id}","starred_url":"https://api.github.com/users/loay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loay/subscriptions","organizations_url":"https://api.github.com/users/loay/orgs","repos_url":"https://api.github.com/users/loay/repos","events_url":"https://api.github.com/users/loay/events{/privacy}","received_events_url":"https://api.github.com/users/loay/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-11-17T12:17:02Z","updated_at":"2015-12-02T11:41:15Z","closed_at":null,"body":"https://github.com/geekguy/loopback-sandbox/commit/adef36ff4d7d2ebf987f8d5e0f10649f2d49ba29\r\n\r\nRemove db.json and restart server.\r\n\r\n`checkDefault` should be \"Default String\" but its \"Scope Condition String\". \r\n\r\nLooks like a bug or am I missing something here?"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/161268730","html_url":"https://github.com/strongloop/loopback/issues/1821#issuecomment-161268730","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/1821","id":161268730,"user":{"login":"geekguy","id":3037036,"avatar_url":"https://avatars.githubusercontent.com/u/3037036?v=3","gravatar_id":"","url":"https://api.github.com/users/geekguy","html_url":"https://github.com/geekguy","followers_url":"https://api.github.com/users/geekguy/followers","following_url":"https://api.github.com/users/geekguy/following{/other_user}","gists_url":"https://api.github.com/users/geekguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekguy/subscriptions","organizations_url":"https://api.github.com/users/geekguy/orgs","repos_url":"https://api.github.com/users/geekguy/repos","events_url":"https://api.github.com/users/geekguy/events{/privacy}","received_events_url":"https://api.github.com/users/geekguy/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T11:41:15Z","updated_at":"2015-12-02T11:41:15Z","body":"@bajtos : Tried `access` hook. works for me.\r\n\r\nThanks @fabien for the information."}}