Hook for setting permissions in Liferay Document Library recursively.