{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/9138","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/9138/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9138/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/9138/events","html_url":"https://github.com/yiisoft/yii2/pull/9138","id":95519657,"number":9138,"title":"Cache rbac assignments","user":{"login":"nineinchnick","id":795177,"avatar_url":"https://avatars.githubusercontent.com/u/795177?v=3","gravatar_id":"","url":"https://api.github.com/users/nineinchnick","html_url":"https://github.com/nineinchnick","followers_url":"https://api.github.com/users/nineinchnick/followers","following_url":"https://api.github.com/users/nineinchnick/following{/other_user}","gists_url":"https://api.github.com/users/nineinchnick/gists{/gist_id}","starred_url":"https://api.github.com/users/nineinchnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nineinchnick/subscriptions","organizations_url":"https://api.github.com/users/nineinchnick/orgs","repos_url":"https://api.github.com/users/nineinchnick/repos","events_url":"https://api.github.com/users/nineinchnick/events{/privacy}","received_events_url":"https://api.github.com/users/nineinchnick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T20:24:05Z","updated_at":"2015-07-16T20:29:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/9138","html_url":"https://github.com/yiisoft/yii2/pull/9138","diff_url":"https://github.com/yiisoft/yii2/pull/9138.diff","patch_url":"https://github.com/yiisoft/yii2/pull/9138.patch"},"body":"Based on #8810, makes caching assignments optional and disabled by default. Also makes it more similar to caching other data like items, rules and parents.\r\n\r\nCaching assignments makes sense even with large number of users when all roles are assigned using default roles with rules."},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/122080377","html_url":"https://github.com/yiisoft/yii2/pull/9138#issuecomment-122080377","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/9138","id":122080377,"user":{"login":"nineinchnick","id":795177,"avatar_url":"https://avatars.githubusercontent.com/u/795177?v=3","gravatar_id":"","url":"https://api.github.com/users/nineinchnick","html_url":"https://github.com/nineinchnick","followers_url":"https://api.github.com/users/nineinchnick/followers","following_url":"https://api.github.com/users/nineinchnick/following{/other_user}","gists_url":"https://api.github.com/users/nineinchnick/gists{/gist_id}","starred_url":"https://api.github.com/users/nineinchnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nineinchnick/subscriptions","organizations_url":"https://api.github.com/users/nineinchnick/orgs","repos_url":"https://api.github.com/users/nineinchnick/repos","events_url":"https://api.github.com/users/nineinchnick/events{/privacy}","received_events_url":"https://api.github.com/users/nineinchnick/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T20:29:53Z","updated_at":"2015-07-16T20:29:53Z","body":"Actually it might be better to cache assignments for specific user in `getAssignments()` and `getAssignment()`, going to update the PR."}}