Fixes #89555 by calling the method that changes the permissions of metad...

...ata in GeoNetwork, modified so it functions as final step of the publication process.