It is not against the rules, but if there is a request from above, it is against the will of the boss.
Legal basis:
Article 990 of the "People's Republic of China and Civil Code": Personal rights are the rights to life, body, health, name and other rights enjoyed by civil subjects. rights, name rights, portrait rights, reputation rights, honor rights, privacy rights and other rights.
In addition to the personality rights stipulated in the preceding paragraph, natural persons enjoy other personality rights based on personal freedom and personal dignity.
Article 37 of the "Constitution of the People's Republic of China" stipulates that the personal freedom of citizens of the People's Republic of China shall not be violated.
No citizen shall be arrested unless approved or decided by the People's Procuratorate or decided by the People's Court and executed by the public security organ.
Illegal detention and other methods of illegally depriving or restricting citizens’ personal freedom are prohibited, and illegal searches of citizens’ bodies are prohibited.