{"comment":{"url":"https://api.github.com/repos/RamonHossein/railsblocks-entities/comments/13822478","html_url":"https://github.com/RamonHossein/railsblocks-entities/commit/06c4fb7786c0e06d28a456e8155ef984e0b5cde5#commitcomment-13822478","id":13822478,"user":{"login":"gwmoura","id":1118305,"avatar_url":"https://avatars.githubusercontent.com/u/1118305?v=3","gravatar_id":"","url":"https://api.github.com/users/gwmoura","html_url":"https://github.com/gwmoura","followers_url":"https://api.github.com/users/gwmoura/followers","following_url":"https://api.github.com/users/gwmoura/following{/other_user}","gists_url":"https://api.github.com/users/gwmoura/gists{/gist_id}","starred_url":"https://api.github.com/users/gwmoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwmoura/subscriptions","organizations_url":"https://api.github.com/users/gwmoura/orgs","repos_url":"https://api.github.com/users/gwmoura/repos","events_url":"https://api.github.com/users/gwmoura/events{/privacy}","received_events_url":"https://api.github.com/users/gwmoura/received_events","type":"User","site_admin":false},"position":244,"line":192,"path":"app/models/entities/organization.rb","commit_id":"06c4fb7786c0e06d28a456e8155ef984e0b5cde5","created_at":"2015-10-16T17:28:12Z","updated_at":"2015-10-16T17:28:12Z","body":"line 192 and 193 with same code. And in this operation you need add validation. Admin can look any organization but user can look only your organization."}}