{"id":185715,"date":"2020-10-21T10:56:22","date_gmt":"2020-10-21T02:56:22","guid":{"rendered":"http:\/\/4563.org\/?p=185715"},"modified":"2020-11-05T23:58:51","modified_gmt":"2020-11-05T15:58:51","slug":"%e8%af%ad%e8%a8%80%e7%a7%8d%e7%b1%bb%e6%9c%80%e5%85%a8%e7%9a%84%e6%9d%83%e9%99%90%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f-casbin","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=185715","title":{"rendered":"\u8bed\u8a00\u79cd\u7c7b\u6700\u5168\u7684\u6743\u9650\u7ba1\u7406\u7cfb\u7edf\u2014Casbin"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bed\u8a00\u79cd\u7c7b\u6700\u5168\u7684\u6743\u9650\u7ba1\u7406\u7cfb\u7edf\u2014Casbin               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : veopax <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>Casbin \u7b80\u4ecb<\/p>\n<p>Casbin \u5b98\u65b9\u7f51\u5740\uff1a https:\/\/casbin.org\/<\/p>\n<p>Github \u5730\u5740\uff1a https:\/\/github.com\/casbin\/casbin<\/p>\n<p>Casbin \u662f\u4e00\u5957\u8bbf\u95ee\u63a7\u5236\u5f00\u6e90\u5e93\uff0c\u81f4\u529b\u4e8e\u5e2e\u52a9\u590d\u6742\u7cfb\u7edf\u89e3\u51b3\u6743\u9650\u7ba1\u7406\u7684\u96be\u9898\u3002Casbin \u91c7\u7528\u4e86\u5143\u6a21\u578b\u7684\u8bbe\u8ba1\u601d\u60f3\uff0c\u65e2\u652f\u6301 ACL \uff08\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff09\uff0cRBAC \uff08\u57fa\u4e8e\u89d2\u8272\u8bbf\u95ee\u63a7\u5236\uff09\uff0cABAC \uff08\u57fa\u4e8e\u5c5e\u6027\u8bbf\u95ee\u63a7\u5236\uff09\u7b49\u7ecf\u5178\u7684\u8bbf\u95ee\u63a7\u5236\u6a21\u578b\uff0c\u4e5f\u652f\u6301\u7528\u6237\u6309\u7167\u81ea\u8eab\u9700\u6c42\u7075\u6d3b\u5b9a\u4e49\u6743\u9650\u3002Casbin \u5df2\u7ecf\u88ab Intel \u3001IBM \u3001\u817e\u8baf\u4e91\u3001VMware \u3001RedHat \u3001T-Mobile \u7b49\u516c\u53f8\u5f00\u6e90\u4f7f\u7528\uff0c\u88ab Cisco \u3001Verizon \u7b49\u516c\u53f8\u95ed\u6e90\u4f7f\u7528\u3002<\/p>\n<p>Casbin \u6700\u521d\u662f\u4e00\u4e2a\u7528 Go \u8bed\u8a00\u6253\u9020\u7684\u5f00\u6e90\u8f7b\u91cf\u7ea7\u7684\u7edf\u4e00\u8bbf\u95ee\u63a7\u5236\u6846\u67b6\u3002\u76ee\u524d\u5df2\u9010\u6e10\u53d1\u5c55\uff0c\u6269\u5c55\u5230 Go \u3001Java \u3001Node.js,Javascript(React)\u3001Python \u3001PHP \u3001.NET,Delphi,Rust \u7b49\u591a\u79cd\u8bed\u8a00\uff0c\u5728 GitHub \u5f00\u6e90\uff08 https:\/\/github.com\/casbin\/casbin \uff09\uff0c\u4e3b\u9879\u76ee\u5728 GitHub \u4e0a\u5df2\u6709 7000 stars +\u3002\u8be5\u9879\u76ee\u76ee\u524d\u5df2\u7ecf\u6709\u4e00\u4e2a 10 \u4eba\u5de6\u53f3\u3001\u8f83\u7a33\u5b9a\u7684\u7ef4\u62a4\u56e2\u961f\uff0c\u5e76\u5728\u6301\u7eed\u4e0d\u65ad\u53d1\u5c55\u4e2d\u3002<\/p>\n<p>\u6b22\u8fce\u5c0f\u4f19\u4f34\u4eec\u4f7f\u7528 Casbin \u5e76\u63d0\u51fa\u5b9d\u8d35\u5efa\u8bae~<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>15<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4005697\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ob <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u9519\uff0c\u7814\u7a76\u4e00\u4e0b\uff0c\u611f\u8c22\u5206\u4eab                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005698\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : justin2018 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5389\u5bb3 \u4e0b\u6b21\u9879\u76ee\u4e2d\u4f7f\u7528~                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005699\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : DEVN <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/bX9E7O2z.png\" alt=\"\u8bed\u8a00\u79cd\u7c7b\u6700\u5168\u7684\u6743\u9650\u7ba1\u7406\u7cfb\u7edf\u2014Casbin\"><\/p>\n<p>\u8fd9\u79cd\u6c34\u5e73\u6211\u5f88\u62c5\u5fc3\u7528\u8d77\u6765\u4f1a\u600e\u4e48\u6837\u554a\uff01                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005700\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : user8341 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @DEVN \u80fd\u4e0d\u80fd\u5177\u4f53\u8bf4\u4e00\u4e0b\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005701\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : eudore <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1 pbac \u6211\u6700\u559c\u6b22\u7528\u7b56\u7565\u4e86\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u968f\u4fbf\u5b9a\u4e49\u6743\u9650\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005702\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : loveyu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u4e86\u4e00\u4e0b\u4f3c\u4e4e\u662f\u5f88\u901a\u7528\u7684\u90a3\u79cd\uff0c\u4e0d\u77e5\u9053\u9047\u5230\u524d\u540e\u7aef\u5206\u79bb\uff0c\u4e0d\u540c\u4eba\u770b\u5230\u7684\u6309\u94ae\u548c\u6570\u636e\u90fd\u4e0d\u4e00\u6837\u7684\u7684\u9700\u6c42\u65f6\uff0c\u8fd9\u5957\u7cfb\u7edf\u662f\u5426\u80fd\u591f\u6ee1\u8db3\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005703\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wellsc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd8\u662f\u559c\u6b22 bitwise \u624b\u64b8 rbac                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005704\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : unicloud <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f88\u65e9\u5c31\u6709\u6240\u8033\u95fb\uff0c\u4f46\u4e00\u76f4\u6ca1\u5728\u9879\u76ee\u4e2d\u5e94\u7528\u8fc7\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005705\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ditel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             php \u5728\u7528\u4e86\u3002\u611f\u89c9\u7ec6\u5316\u7684\u6743\u9650\u5f97\u81ea\u5df1\u5904\u7406                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005706\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : coderabbit <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @loveyu \u6211\u7528\u7684\u522b\u540d\uff0c\u540e\u7aef\u5b9a\u4e49\u522b\u540d\uff0c\u767b\u9646\u540e\u62c9\u5230\u524d\u7aef\u5224\u65ad                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005707\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : buffzty <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @DEVN \u6211\u770b\u8fd9\u6bb5\u5e94\u8be5\u662f\u6587\u6863\u4f2a\u4ee3\u7801\u5427 \u663e\u5f0f\u7684\u5199\u51fa==true \u4e0d\u80fd\u4ec5\u51ed\u4e00\u6bb5\u4f2a\u4ee3\u7801\u8bf4\u4ed6\u4e0d\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005708\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : securityCoding <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @loveyu \u6ee1\u8db3\u4e0d\u4e86,\u6570\u636e\u6743\u9650\u5b9e\u9645\u4e0a\u5c5e\u4e8e\u4e1a\u52a1\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005709\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuanbg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u60f3\u8981\u5728\u7f51\u5173\u4e0a\u9762\u9274\u6743\u4f3c\u4e4e\u4e5f\u662f\u652f\u6301\u4e0d\u4e86\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005710\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzl22100048 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuanbg \u7f51\u5173\u4e0a\u53ef\u4ee5\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4005711\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Pythondr <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u76f4\u5728\u7528\uff0c\u633a\u4e0d\u9519\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bed\u8a00\u79cd\u7c7b\u6700\u5168\u7684\u6743\u9650\u7ba1\u7406\u7cfb\u7edf\u2014Cas&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/185715"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=185715"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/185715\/revisions"}],"predecessor-version":[{"id":185717,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/185715\/revisions\/185717"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=185715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=185715"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=185715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}