Can. 1019

§1. The major superior of a clerical religious institute of pontifical right or of a clerical society of apostolic life of pontifical right is competent to grant dimissorial letters for the diaconate and the presbyterate to their subjects who are enrolled perpetually or defin-itively in the institute or society according to their constitutions.

§2. The law for secular clerics governs the ordination of all other candidates of any institute or society; any other indult granted to superiors is revoked.

Read the whole title TITLE VIOrders 1008–1054