{"version":"1.0","author_url":"https://blog.hatena.ne.jp/BTT/","blog_title":"BTT's blog","provider_url":"https://hatena.blog","url":"https://btt.hatenablog.com/entry/2012/07/19/232249","height":"190","provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbtt.hatenablog.com%2Fentry%2F2012%2F07%2F19%2F232249\" title=\" FuelPHP\u306eSimpleAuth\u3067ACL(Access Control List) - BTT&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2012-07-19 23:22:49","description":"FuelPHP\u306eSimpleAuth\u306eACL\u306e\u6982\u8981\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u30ed\u30fc\u30eb\u3092\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u7ba1\u7406 \u30e6\u30fc\u30b6\u30fc\u3067\u306f\u306a\u304f\u3001\u30b0\u30eb\u30fc\u30d7\u306b\u5bfe\u3057\u30ed\u30fc\u30eb\u304c\u3072\u3082\u3065\u304f \u4ee5\u4e0b\u3001\u8a2d\u5b9a\u4f8b\u306b\u306a\u308a\u307e\u3059\u3002 config $ vi app/config/simpleauth.php \u8a2d\u5b9a\u5bfe\u8c61\u306f\u300egroups\u300f\u3068\u300eroles\u300f\u306b\u306a\u308a\u307e\u3059\u3002 <?php ... // \u30b0\u30eb\u30fc\u30d7\u306e\u8a2d\u5b9a 'groups' => array( /** * \u30b0\u30eb\u30fc\u30d7ID => array( // \u30b0\u30eb\u30fc\u30d7ID\u306fusers\u30c6\u30fc\u30d6\u30eb\u306egroup\u30ab\u30e9\u30e0 * 'name' => '\u8b58\u5225\u540d', * 'role' => '\u30ed\u30fc\u30eb\u540d' * ) */ 1 =>\u2026","title":" FuelPHP\u306eSimpleAuth\u3067ACL(Access Control List)","image_url":null,"author_name":"BTT","type":"rich","blog_url":"https://btt.hatenablog.com/","categories":["PHP","FuelPHP"]}