I would like to have group-based restrictions that allow users to access only certain parts of the network. I am new to all ACL stuff, and I didn't quite understand this from the manual: / so I would like to ask a few questions.
But before any questions, my routes look like this:
Router::connect('/', array('controller' => 'users', 'action' => 'login'));
Router::connect('/admin/:controller/:action/*', array('prefix' => 'admin', 'admin' => true));
Router::connect('/registered/:controller/:action/*', array('prefix' => 'registered', 'registered' => true));
1.) How to restrict users from any other group than Administratorto get ONLY part of the /registered/web page
2.) How can I prevent anyone from using default addresses, such as www.example.com/users/addglobally (I only want the address type www.example.com/admin/users/addor www.example.com/registered/users/add)? Such addresses are not events set in routes.php, but they still work.
Any answers appreciated