formal the right or ability to decide something:
中文解释
at the discretion of Students can be expelled at the discretion of the principal (= if the principal decides it).
at the discretion of Students can be expelled at the discretion of the principal (= if the principal decides it).