Verify that the current user is allowed to access a particular action