Different experiences for different users
Learning Objectives
Different experiences for different users
TODO: Introduce an โadminโ role which gets an additional โdeleteโ button
TODO: Introduce a โview posting statsโ page that only the admin can access
Extracting common functionality
Learning Objectives
Extracting common functionality
TODO: Extract common code to determine whether the current user is an admin across multiple views