{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/11895","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/11895/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/11895/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/11895/events","html_url":"https://github.com/yiisoft/yii2/issues/11895","id":163879751,"number":11895,"title":"Get all users having a RBAC role assignment","user":{"login":"Kolyunya","id":2682768,"avatar_url":"https://avatars.githubusercontent.com/u/2682768?v=3","gravatar_id":"","url":"https://api.github.com/users/Kolyunya","html_url":"https://github.com/Kolyunya","followers_url":"https://api.github.com/users/Kolyunya/followers","following_url":"https://api.github.com/users/Kolyunya/following{/other_user}","gists_url":"https://api.github.com/users/Kolyunya/gists{/gist_id}","starred_url":"https://api.github.com/users/Kolyunya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kolyunya/subscriptions","organizations_url":"https://api.github.com/users/Kolyunya/orgs","repos_url":"https://api.github.com/users/Kolyunya/repos","events_url":"https://api.github.com/users/Kolyunya/events{/privacy}","received_events_url":"https://api.github.com/users/Kolyunya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-05T15:33:02Z","updated_at":"2016-07-06T09:50:01Z","closed_at":null,"body":"Current implementation of RBAC managers can find users having only direct assignment to a specific role.\r\n\r\nIf role `Foo` is a parent of role `Bar` and role `Foo` is assigned to some user then `getUserIdsByRole()` won't list that user as having role `Bar`.\r\n\r\nI think we should implement a method which will find all users having all (even indirect) assignments to a specific role. This is a common scenario - to list all (I mean *really* all) users by role.\r\n\r\nHaving such method will add completeness and consistency to the manager interface. Current method implementation is even misleading in some way."},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/230727939","html_url":"https://github.com/yiisoft/yii2/issues/11895#issuecomment-230727939","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/11895","id":230727939,"user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T09:50:01Z","updated_at":"2016-07-06T09:50:01Z","body":"Yes, @Kolyunya, you're right."}}
{"actor":{"display_login":"samdark"}}