I plan to set the resolution on my event index page, which allows a specific user to see which was set when the event was added. After the user clicks on my event, the 1st event controller will check the user ID and check the event database, which controls the user, can see what event is on his calendar. Permission is added when the user creates an event and passes it to another user. Also, how can I find the current user ID to compare with my event base, which is an exact 1?
Any suggestion for me to make this feature? I need to know the code and the concept of how to get the current user ID for comparison with the entire event database and let the current user see a specific event.
Thanks so much for your info.
cakephp
vincent low
source share