I know how to restrict access to given pages and paths by role. What I'd like to do is restrict content like server controls by role on any arbitrary page, or even alter which "view" is presented by role. Is there a design pattern for this? Also, how can this be done without hardcoding the roles in the code?

Thanks,
Mark