{"action":"closed","issue":{"url":"https://api.github.com/repos/betterlife/flask-erp/issues/30","labels_url":"https://api.github.com/repos/betterlife/flask-erp/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/betterlife/flask-erp/issues/30/comments","events_url":"https://api.github.com/repos/betterlife/flask-erp/issues/30/events","html_url":"https://github.com/betterlife/flask-erp/issues/30","id":91585484,"number":30,"title":"Role for different domain object / operation combination","user":{"login":"xqliu","id":22554,"avatar_url":"https://avatars.githubusercontent.com/u/22554?v=3","gravatar_id":"","url":"https://api.github.com/users/xqliu","html_url":"https://github.com/xqliu","followers_url":"https://api.github.com/users/xqliu/followers","following_url":"https://api.github.com/users/xqliu/following{/other_user}","gists_url":"https://api.github.com/users/xqliu/gists{/gist_id}","starred_url":"https://api.github.com/users/xqliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xqliu/subscriptions","organizations_url":"https://api.github.com/users/xqliu/orgs","repos_url":"https://api.github.com/users/xqliu/repos","events_url":"https://api.github.com/users/xqliu/events{/privacy}","received_events_url":"https://api.github.com/users/xqliu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/betterlife/flask-erp/labels/feature","name":"feature","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-28T10:57:37Z","updated_at":"2015-07-02T03:37:49Z","closed_at":"2015-07-02T03:37:49Z","body":"Related to #26 \r\n\r\nRole for different domain object / operation combination.\r\n\r\nFirst step:\r\n\r\n- Control whether user can do CRUD on a specify domain object.\r\n\r\nLater consideration:\r\n\r\n- Split the role to C/R/U/D\r\n- Add data level access control, a user can only operate on the data owned by himself.\r\n"}}