{"action":"closed","issue":{"url":"https://api.github.com/repos/rcosnita/eCommerce-RBAC/issues/1","labels_url":"https://api.github.com/repos/rcosnita/eCommerce-RBAC/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rcosnita/eCommerce-RBAC/issues/1/comments","events_url":"https://api.github.com/repos/rcosnita/eCommerce-RBAC/issues/1/events","html_url":"https://github.com/rcosnita/eCommerce-RBAC/issues/1","id":77979091,"number":1,"title":"How to allocate permission?","user":{"login":"ABJ351R7","id":9530004,"avatar_url":"https://avatars.githubusercontent.com/u/9530004?v=3","gravatar_id":"","url":"https://api.github.com/users/ABJ351R7","html_url":"https://github.com/ABJ351R7","followers_url":"https://api.github.com/users/ABJ351R7/followers","following_url":"https://api.github.com/users/ABJ351R7/following{/other_user}","gists_url":"https://api.github.com/users/ABJ351R7/gists{/gist_id}","starred_url":"https://api.github.com/users/ABJ351R7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABJ351R7/subscriptions","organizations_url":"https://api.github.com/users/ABJ351R7/orgs","repos_url":"https://api.github.com/users/ABJ351R7/repos","events_url":"https://api.github.com/users/ABJ351R7/events{/privacy}","received_events_url":"https://api.github.com/users/ABJ351R7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-19T07:46:49Z","updated_at":"2015-05-20T09:00:46Z","closed_at":"2015-05-20T09:00:46Z","body":"Hi, rcosnita.\r\n\r\nI read [Scenario-1-small-businesses][1] in your wiki.\r\n\r\nIn that case, if role customer support and marketing both have the permission \"view report\", they can \"view all reports\" in their company. \r\n\r\nBut how to redesign the erd to make it possible that both role can noly \"view report\" in their department or created by themselves.\r\n\r\n  [1]: https://github.com/rcosnita/eCommerce-RBAC/wiki/Scenario-1-small-businesses"}}