Modularized feed permission checking