{"action":"created","issue":{"url":"https://api.github.com/repos/muxiangqiu/bdf3/issues/16","repository_url":"https://api.github.com/repos/muxiangqiu/bdf3","labels_url":"https://api.github.com/repos/muxiangqiu/bdf3/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/muxiangqiu/bdf3/issues/16/comments","events_url":"https://api.github.com/repos/muxiangqiu/bdf3/issues/16/events","html_url":"https://github.com/muxiangqiu/bdf3/issues/16","id":347240037,"node_id":"MDU6SXNzdWUzNDcyNDAwMzc=","number":16,"title":"bdf3的权限管理有bug","user":{"login":"skywalker2013","id":3273380,"node_id":"MDQ6VXNlcjMyNzMzODA=","avatar_url":"https://avatars1.githubusercontent.com/u/3273380?v=4","gravatar_id":"","url":"https://api.github.com/users/skywalker2013","html_url":"https://github.com/skywalker2013","followers_url":"https://api.github.com/users/skywalker2013/followers","following_url":"https://api.github.com/users/skywalker2013/following{/other_user}","gists_url":"https://api.github.com/users/skywalker2013/gists{/gist_id}","starred_url":"https://api.github.com/users/skywalker2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skywalker2013/subscriptions","organizations_url":"https://api.github.com/users/skywalker2013/orgs","repos_url":"https://api.github.com/users/skywalker2013/repos","events_url":"https://api.github.com/users/skywalker2013/events{/privacy}","received_events_url":"https://api.github.com/users/skywalker2013/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-03T02:46:56Z","updated_at":"2018-08-06T02:16:57Z","closed_at":null,"author_association":"NONE","body":"1. 创建不同的角色，给不同角色分配不同的菜单权限。 然后用某一角色A下的用户登陆，出来的菜单是另外一个角色B下的菜单。\r\n2.  为了验证1，接着测试的时候，删除了角色B，然后查看角色A下用户的菜单权限，看到的还是角色B的菜单权限，重启服务后会更新，但是又会跑到另一个角色C下面，反正就是不匹配角色A的菜单。 这至少证明两个问题：再次证明问题1， 二就是你们的代码里面的Cache控制没有做好，删除角色B的时候就应该当时清理Cache，而不是重启服务。"},"comment":{"url":"https://api.github.com/repos/muxiangqiu/bdf3/issues/comments/410570402","html_url":"https://github.com/muxiangqiu/bdf3/issues/16#issuecomment-410570402","issue_url":"https://api.github.com/repos/muxiangqiu/bdf3/issues/16","id":410570402,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDU3MDQwMg==","user":{"login":"skywalker2013","id":3273380,"node_id":"MDQ6VXNlcjMyNzMzODA=","avatar_url":"https://avatars1.githubusercontent.com/u/3273380?v=4","gravatar_id":"","url":"https://api.github.com/users/skywalker2013","html_url":"https://github.com/skywalker2013","followers_url":"https://api.github.com/users/skywalker2013/followers","following_url":"https://api.github.com/users/skywalker2013/following{/other_user}","gists_url":"https://api.github.com/users/skywalker2013/gists{/gist_id}","starred_url":"https://api.github.com/users/skywalker2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skywalker2013/subscriptions","organizations_url":"https://api.github.com/users/skywalker2013/orgs","repos_url":"https://api.github.com/users/skywalker2013/repos","events_url":"https://api.github.com/users/skywalker2013/events{/privacy}","received_events_url":"https://api.github.com/users/skywalker2013/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T02:16:57Z","updated_at":"2018-08-06T02:16:57Z","author_association":"NONE","body":"这个组件是如何分配的？比如说对页面上的某一个button，我在某一角色下分配其为只读。但是用该角色下用户登陆后，还是能操作这个button。这是什么原因造成的？还是我对“只读”, \"可写\"理解有误？"}}
{"actor":{"display_login":"skywalker2013"}}