The trial court correctly denied the Anti-SLAPP motion brought by Kaufman who was named as the real party in interest in this petition for writ of administrative mandamus to challenge San Francisco’s approval of Kaufman’s building permit and mitigated negative declaration under CEQA to remodel a home in the city. Though Kaufman’s successful appeal to the city from its planning department’s decision against him may be protected activity and may have triggered Durkin’s mandate petition, Kaufman’s conduct was not the basis of the suit–no element of the administrative mandate claim depended on Kaufman’s acts, rather they were all based on the city’s conduct in response to Kaufman’s appeal. Nevertheless, the Court of Appeal held that the Anti-SLAPP motion and appeal weren’t frivolous so as to entitle Durkin to a fee award, citing Rudisill v. California Coastal Com. (2019) 35 Cal.App.5th 1062.