CakePHP SessionAcl Component

1,453 views

Published on

CakePHP新春勉強会@東京 LT

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,453
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

CakePHP SessionAcl Component

  1. 1. Jan 2011CakePHP @ from
  2. 2. About Me• WEB Developer / PHP / CakePHP / HTML / CSS / jQuery / MySQL / iPhone / / / / / / / / no more• BLOG: http://php-tips.com/• TWITTER: @nojimage
  3. 3. ACL Component
  4. 4. Acl• check →Aro →Aco →Permission 3
  5. 5. SessionACL Component
  6. 6. SessionAcl• http://bakery.cakephp.org/articles/ macduy/2010/01/05/acl-caching- using-session• Mac Duy Hai (macduy)
  7. 7. SessionAcl• AclComponent• check() →2
  8. 8. How to use?• bakery session_acl.php app/components/ <?php class AppController extends Controller { // ... // Acl SessionAcl public $components = array(‘SessionAcl’); // ...
  9. 9. wait!• AclComponent
  10. 10. wait!•CakePHP1.3.6 AclComponent
  11. 11. wait!•CakePHP1.3.6 AclComponent→
  12. 12. fixed!•https://gist.github.com/779479
  13. 13. Attention!!• ACL

×