[Fixes 72936832]urgent: adjust instructorPrivilege class implementation for more flexible extensions later on

Why not put all these values into a set/map and use method in the set/map to find if the value is in the set? Cleaner than having all these switch statements.