Cakephp application development scope -
i want separate cakephp application in users authentications... have created authentication key of 50 digits boolean. 10111... in way.. wanna separate application accordingly. suppose blog post. want access view post if users first authentication digit 1 , if post private need authenticate using digit 2 . other status of post suppose private wanna again check action of digit. should scope.? better way go with... second want have common function. have taken example of simple controller post wanna of models , controllers. how can make single inbuilt function all. you'll need create these rules in appcontrollers authorize() method, assuming using authcomponent , controller auth method.