With a focus on CakePHP application development. Authentication vs Authorization Those two are often confused. So here a little preface: Authentication always comes first. It is about whether you are logged in or not. At this point it is not…
Tag: Roles
Auth – inline authorization the easy way
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…