Modify ACL's, move platform http://dev.libresource.org/home/community/forum/5acf20dec0a8001e001e1ba2c03667bb RE : Modify ACL's, move platform http://dev.libresource.org/home/community/forum/5acf20dec0a8001e001e1ba2c03667bb/769eed8ec0a8001e010af90159b067fa Sebastien Jourdain 2006-01-11T12:22:54+01:00 RE : Modify ACL's, move platform http://dev.libresource.org/home/community/forum/5acf20dec0a8001e001e1ba2c03667bb/761d24a1c0a8001e01701c8246105653 Rüdiger Lincke 2006-01-11T12:22:54+01:00 well, I dont know how many people make the same mistake as we do, but if, they might be happy to have a little program fixing the ACL's.

The program is at the moment, a little hack, without documentation, and hardcoded parameters. I will try to spent some time in the next days to document it, and accept command line parameters, so that you can specify the database connection, and the new URL. Then it should be used by others as well.

I would be glad, if it has some purpose for others, and you would include it in the next release.

Where should I send it to, when I am done? Is there a upload area on this platform, I can access?

Greetings, Rüdiger]]> RE : Modify ACL's, move platform http://dev.libresource.org/home/community/forum/5acf20dec0a8001e001e1ba2c03667bb/7452eba0c0a8001e0190cf3513886822 Sebastien Jourdain 2006-01-11T12:22:54+01:00 I'm glad that you make it on your own… Sorry if I couldn't helped you but I was quite busy this last days… ;-)

If you think that your program could help others, and if you agree to add it in the next release, you can send it to us...

Regards,

Artenum Team]]> RE : Modify ACL's, move platform http://dev.libresource.org/home/community/forum/5acf20dec0a8001e001e1ba2c03667bb/653fdbadc0a8001e00a7695ec48d6182 Rüdiger Lincke 2006-01-11T12:22:54+01:00 RE : Modify ACL's, move platform http://dev.libresource.org/home/community/forum/5acf20dec0a8001e001e1ba2c03667bb/653ecdf1c0a8001e016a3c80fed82086 Rüdiger Lincke 2006-01-11T12:22:54+01:00 we where able to fix the problem.

We found out, that the ACL's are stored as serialized HashMaps, having a URI as key and a String[] as value. We could write a program reading this information from the database, changing the host name and writing it back. Now everything works with the new configuration.

Greetings,

Rüdiger]]> Modify ACL's, move platform http://dev.libresource.org/home/community/forum/5acf20dec0a8001e001e1ba2c03667bb/5acf2553c0a8001e00be36a6fa21fec4 Rüdiger Lincke 2006-01-11T12:22:54+01:00 we changed teh configuration of our LibreSource installation. Changing the localhost to our correct URL as discussed in Where to change localhost.

Now we have some problems with the ACL's, since there seem to be some absolute paths hard coded. We get exceptions because of this saying that localhost can not be found. Which is understandable, since we changed it.

Any idea how we can fix this? We tried to do a string replacement in the table node_, column acls_. But this did not succeed.

Any suggestions are very welcome.

Thank you,

Rüdiger]]>