Infer role from post_id