On Feb 20, 2009, at 12:53 PM, Henning Sprang wrote:
Hi
On Fri, Feb 20, 2009 at 10:47 AM, Sergiu Dumitriu <[email protected]> wrote:
xwiki-core/src/main/java/com/xpn/xwiki/user/impl/xwiki/ XWikiRightServiceImpl.java, around line 106, there should be a line like: actionMap.put("pdf", "view"); and around line 115: actionMap.put("export", "view");
Thanks a lot for the detailed information! I'll be looking at it the next few days - I will finally have to start setting up a development environment for xWiki coding.
A quick solution is to replace "view" with "admin".
For start that would suffice.
A better solution is to replace "view" with "export", but then you will have to also change other java code and some skin files.
No problem for the long term. I'll have to change stuff in the skins anyway. I'm thinking of a better commenting system - for example like it is in the djangobook project: http://djangobook.com/en/1.0/chapter01/
This is something Lucien started to work on, see http://dev.xwiki.org/xwiki/bin/view/Design/Annotat ionFeature I don't know what's the status but if you want to help you're welcome! Does someone know where the sources are for this? Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net