{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8296","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8296/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8296/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8296/events","html_url":"https://github.com/yiisoft/yii2/issues/8296","id":73575048,"number":8296,"title":"Не получается использовать $app->user->can в моделе","user":{"login":"RooTooZ","id":3372676,"avatar_url":"https://avatars.githubusercontent.com/u/3372676?v=3","gravatar_id":"","url":"https://api.github.com/users/RooTooZ","html_url":"https://github.com/RooTooZ","followers_url":"https://api.github.com/users/RooTooZ/followers","following_url":"https://api.github.com/users/RooTooZ/following{/other_user}","gists_url":"https://api.github.com/users/RooTooZ/gists{/gist_id}","starred_url":"https://api.github.com/users/RooTooZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RooTooZ/subscriptions","organizations_url":"https://api.github.com/users/RooTooZ/orgs","repos_url":"https://api.github.com/users/RooTooZ/repos","events_url":"https://api.github.com/users/RooTooZ/events{/privacy}","received_events_url":"https://api.github.com/users/RooTooZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-06T09:49:15Z","updated_at":"2015-05-06T09:49:15Z","closed_at":null,"body":"PHP Fatal Error – yii\\base\\ErrorException\r\nMaximum execution time of 30 seconds exceeded\r\n\r\nТакую ошибку я получаю когда пытаюсь использовать в самой моделе.\r\n\r\n```php\r\nYii::$app->user->can('ability')\r\n```\r\n\r\nСтоит отключить этот код и приложение работает"}}