Can we implement access control using if/else statements in the source code?
You will of course have to use if/else statements in your source code (the previous answer was to a specific student’s question regarding their particular use of if/else statements). The point to keep in mind, however, is that your solution must be extensible (in particular, it should allow someone to easily add new TAs/projects with any desired name) without requiring you to re-compile or change the source code of either the client or server.