Skip to navigation Skip to content

DerEuroMark

A blog about Frameworks (CakePHP), MVC, Snippets, Tips and more

Primary Menu
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • About us
  • Home
  • 2012
  • April
  • 7

Day: April 7, 2012

CakePHP

Auth – inline authorization the easy way

Mark
April 7, 2012
0

I wrote a wrapper class to make inline authorization easier. Often times you want to check on certain roles inside an action or view and depending on the result display specific content or execute specific code. As an example we…

Read More
Search the site
Tags
ACL Annotations Auth Authentication Authorization Background tasks Bake Behavior Bootstrap CakePHP CakePHP1.3 CakePHP2 CakePHP3 Component Composer Console Custom Template Database ErrorHandler Framework Git Helper HTML5 IDE IdeHelper Lib Login Migration Model PHP PHP5 PHP5.4 PHPStan PHPUnit Plugin Queue redirect Roles Security Testing Tips Travis CI Upgrade Validation virtual fields
Categories
  • Common (7)
  • Fun (1)
  • VersionControl (7)
    • Git (2)
    • SVN (5)
  • WebDevelopment (179)
    • DevVM (1)
    • HTML (2)
    • JS (2)
      • jQuery (2)
    • MySQL (3)
    • PHP (171)
      • CakePHP (154)
    • Testing (6)
Recent Posts
  • CakePHP File Management Solution
  • TestHelper for your CakePHP apps
  • CakePHP Tips Autumn 2025
  • Fresh expert tips on CakePHP IDE and tooling best practices
  • Improved Session authenticator for CakePHP
Recent Comments
  • Mark on Middleware and CakePHP
  • Mark on Middleware and CakePHP
  • Michael Schrading on Middleware and CakePHP
  • Mark on Middleware and CakePHP
  • Michael Schrading on Middleware and CakePHP
Calendar
April 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Mar   May »
Archives
Pages
  • About us
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • CakePHP File Management Solution 6 views
  • Working with decimals in PHP apps 6 views
  • Generating PDFs with CakePHP 4 views
  • CakePHP 3.0 Migration Notes 3 views
  • CakePHP Security 3 views
  • Unit-Testing Tips for 2.0 and PHPUnit 2 views
  • CakePHP 2.5 arrived + CakePHP Tips 2014 2 views
  • How to implement Captchas properly 2 views
  • CakePHP flash messages 2.0 2 views
  • Working with passwords in CakePHP 2 views
Copyright © All rights reserved. Theme: Blog Elite by Themesaga