i am planing to set a permission on my event index page, which just allow certain user to view which had set when i add the event. After user click into my event, the event cont
The recommended approach for getting logged in user data is via the AuthComponent itself:
// in any controller $userId = $this->Auth->user('id');
See Accessing the logged in user in the Auth section of the CakePHP Book.