A script was built for this and has been already been used.
----
From the information coming to light, all the "current data" needs to be publicly visible. There is therefore need to implement a temporary script that will be manually run to organise the data into resources and user groups and assign the appropriate privileges.
The script could:
There is no way of knowing if all the existing data should be publicly viewable by default, and could lead to data leaks if the script is run just after such data (not supposed to be publicly viewable) has been uploaded to the system.