{"action":"created","issue":{"url":"https://api.github.com/repos/z-song/laravel-admin/issues/47","repository_url":"https://api.github.com/repos/z-song/laravel-admin","labels_url":"https://api.github.com/repos/z-song/laravel-admin/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/z-song/laravel-admin/issues/47/comments","events_url":"https://api.github.com/repos/z-song/laravel-admin/issues/47/events","html_url":"https://github.com/z-song/laravel-admin/issues/47","id":181979304,"number":47,"title":"请教关于权限控制的用法","user":{"login":"windpursuer","id":5213331,"avatar_url":"https://avatars.githubusercontent.com/u/5213331?v=3","gravatar_id":"","url":"https://api.github.com/users/windpursuer","html_url":"https://github.com/windpursuer","followers_url":"https://api.github.com/users/windpursuer/followers","following_url":"https://api.github.com/users/windpursuer/following{/other_user}","gists_url":"https://api.github.com/users/windpursuer/gists{/gist_id}","starred_url":"https://api.github.com/users/windpursuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windpursuer/subscriptions","organizations_url":"https://api.github.com/users/windpursuer/orgs","repos_url":"https://api.github.com/users/windpursuer/repos","events_url":"https://api.github.com/users/windpursuer/events{/privacy}","received_events_url":"https://api.github.com/users/windpursuer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-10T10:13:46Z","updated_at":"2016-10-10T10:29:15Z","closed_at":null,"body":"文档有提到可以在控制器类内进行权限控制，这样做的有一个小问题，后台菜单对所有用户都默认显示了，点击进去后才会执行权限控制代码。如果需要管理用户登录后立即判断管理权限并显示有权限的菜单选项，应该需要如何操作?"},"comment":{"url":"https://api.github.com/repos/z-song/laravel-admin/issues/comments/252581901","html_url":"https://github.com/z-song/laravel-admin/issues/47#issuecomment-252581901","issue_url":"https://api.github.com/repos/z-song/laravel-admin/issues/47","id":252581901,"user":{"login":"z-song","id":1479100,"avatar_url":"https://avatars.githubusercontent.com/u/1479100?v=3","gravatar_id":"","url":"https://api.github.com/users/z-song","html_url":"https://github.com/z-song","followers_url":"https://api.github.com/users/z-song/followers","following_url":"https://api.github.com/users/z-song/following{/other_user}","gists_url":"https://api.github.com/users/z-song/gists{/gist_id}","starred_url":"https://api.github.com/users/z-song/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z-song/subscriptions","organizations_url":"https://api.github.com/users/z-song/orgs","repos_url":"https://api.github.com/users/z-song/repos","events_url":"https://api.github.com/users/z-song/events{/privacy}","received_events_url":"https://api.github.com/users/z-song/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T10:29:15Z","updated_at":"2016-10-10T10:29:15Z","body":"刚好这几天添加了新功能，使用最新的代码不用在`menu.php`里面配置菜单了\r\n\r\n有配置管理页面：\r\n`http://120.26.143.106:84/admin/auth/menu` 账号/密码 admin/admin "}}
{"actor":{"display_login":"z-song"}}