Iluvatar+ Posted March 5, 2012 Share Posted March 5, 2012 Is it possible to have access controll on url parms. For example i have a CreatePage controller but each created page will have a franchise_id related to it and stored in it's table. I want to be able to allow and deny specific franchises within the CreatedPages controller. i.e: <?php if($this->action==Stepone/?fran_id=2){ if($this->Auth->user('role') == 'user') { return true; } else { ... ?> Link to comment https://forums.phpfreaks.com/topic/258318-add-actions-with-url-parms-to-isauthorized-function/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.