{"action":"closed","issue":{"url":"https://api.github.com/repos/fullcube/loopback-component-access-groups/issues/9","repository_url":"https://api.github.com/repos/fullcube/loopback-component-access-groups","labels_url":"https://api.github.com/repos/fullcube/loopback-component-access-groups/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/fullcube/loopback-component-access-groups/issues/9/comments","events_url":"https://api.github.com/repos/fullcube/loopback-component-access-groups/issues/9/events","html_url":"https://github.com/fullcube/loopback-component-access-groups/issues/9","id":150363886,"number":9,"title":"Use GroupRoles to restrict access to GroupModel","user":{"login":"eggerdo","id":2161587,"avatar_url":"https://avatars.githubusercontent.com/u/2161587?v=3","gravatar_id":"","url":"https://api.github.com/users/eggerdo","html_url":"https://github.com/eggerdo","followers_url":"https://api.github.com/users/eggerdo/followers","following_url":"https://api.github.com/users/eggerdo/following{/other_user}","gists_url":"https://api.github.com/users/eggerdo/gists{/gist_id}","starred_url":"https://api.github.com/users/eggerdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggerdo/subscriptions","organizations_url":"https://api.github.com/users/eggerdo/orgs","repos_url":"https://api.github.com/users/eggerdo/repos","events_url":"https://api.github.com/users/eggerdo/events{/privacy}","received_events_url":"https://api.github.com/users/eggerdo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-22T13:00:37Z","updated_at":"2016-04-22T13:52:37Z","closed_at":"2016-04-22T13:52:37Z","body":"Is it possible to use the group roles to restrict access to the Group model itself? I.e. if I want to store data in my GroupModel and restrict access to GroupRoles, e.g. member only read, admin read/write, I need to be able to use the GroupRoles in the ACL of my GroupModel. Is that possible?\r\nIf I understood correctly, I can only use the GroupRoles in ACL of models which have a belongTo relation to the GroupModel, but not the GroupModel itself?\r\nSo then I would have to create an addition model with a one-to-one relation to the GroupModel and store my group data there?"}}