Resource Menu


posted by Sebastien Jourdain at Jan 11, 2006 12:22 PM
Quote
I will give you an access…
posted by Rüdiger Lincke at Jan 11, 2006 12:22 PM
Quote
Hello,

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

posted by Sebastien Jourdain at Jan 11, 2006 12:22 PM
Quote
Great...

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

posted by Rüdiger Lincke at Jan 11, 2006 12:22 PM
Quote
Damn, I forgot to escape the [] in String[] in my last post. I mean a String array.
posted by Rüdiger Lincke at Jan 11, 2006 12:22 PM
Quote
Hello,

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

posted by Rüdiger Lincke at Jan 11, 2006 12:22 PM
Quote
Hello,

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