Section 10. No person shall be deemed to be incompetent to manage his affairs, to contract, to hold professional or occupational or vehicle operators licenses or to make a will solely by reason of his admission or commitment in any capacity to the treatment or care of the department or to any public or private facility, nor shall departmental regulations restrict such rights.