AccessRules limitation to user who create the entry

How can i set the accessRules in a controller (such as in my messages controller) that only the user who create the message can edit it, assuming the message table has a user_id key?

thanks

Nicolas

You can override the accessControl filter or write your own filter or just do the authorization inside the controller action.