wrap RESTRICTED_TEACHER_PERMISSIONS default value inside getattr
turn on RESTRICTED_TEACHER_PERMISSIONS if we're in nalanda