Re: [xwiki-users] [myxwiki] new wiki request

2015-04-08 Thread Thomas Mortagne
You can access your new wiki on http://bedar.myxwiki.org. Enjoy ! On Tue, Apr 7, 2015 at 1:56 PM, Bedar beda...@gmail.com wrote: Hi, Firstly, I hope I'm sending this to the correct e-mail, if not please tell me so I can avoid making the same mistake in the future. Secondly, I would like to

[xwiki-users] XWiki 7 / File Manager and Task Manager applications

2015-04-08 Thread Laurent CARON
Hi, I'm currently migrating my company's wiki to XWIKI. I've installed version 7.0. Well, this application rocks but I've got an annoying problem : - I've downloaded the file manager and tried it on both Firefox and Chrome. When I open the page, I've just got an empty folder. I tried

Re: [xwiki-users] Obtaining a XWikiContext

2015-04-08 Thread Marius Dumitru Florea
Or inject the Container component and access the request. See https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-containers/xwiki-platform-container-api/src/main/java/org/xwiki/container/Container.java Hope this helps, Marius On Wed, Apr 8, 2015 at 6:38 PM,

Re: [xwiki-users] Obtaining a XWikiContext

2015-04-08 Thread vinc...@massol.net
Another option is to get inject a Container component: @Inject Container container; then container.getRequest() and if you need to access HTTP parameters: ((ServletRequest) container.getRequest).getHttpServletRequest() Thanks -Vincent On 8 Apr 2015 at 17:38:23, Marius Dumitru Florea

Re: [xwiki-users] User Permissions Issue

2015-04-08 Thread Hamster
Here's how I have created the permissions of our spaces: SpaceAdmin - Thicked all SpaceEditor - Thicked View, Comment and Edit SpaceViewer - Thicked View and Comment So basicly your first screenshot. There's no need apply any Deny rights. The thicks of the SpaceAdmin will deny those rights for

Re: [xwiki-users] User Permissions Issue

2015-04-08 Thread mahomed
Hi As anyone else got any tips/suggestions/advice/links on a better way of restricting access to document and even spaces? The sub-wiki idea may work, but it's a LOT of work (even though we just started using the Wiki, people have fallen in love with XWiki and we now have quite an amount data in

[xwiki-users] Obtaining a XWikiContext

2015-04-08 Thread Nicolas Delsaux
Hi, for one of our projects, we're creating a XWiki component, based upon this documentation (http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents). In documentation, it is said we can access the XWikiContext, which is also said to be deprecated. Considering that, and the fact

Re: [xwiki-users] User Permissions Issue

2015-04-08 Thread mahomed
Hi Thanks for the response. What you have shown seems to work partially for us. The issue happens if the user is a member of a group for a different space. So taking your example a bit further: Space1Admin - ticked all Space1Editor - ticked View, Comment and Edit Space1Viewer - ticked View

Re: [xwiki-users] Obtaining a XWikiContext

2015-04-08 Thread Marius Dumitru Florea
One option is to use a RequestInitializer as in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-sheet/xwiki-platform-sheet-api/src/main/java/org/xwiki/sheet/internal/SheetRequestInitializer.java . Hope this helps, Marius On Wed, Apr 8, 2015 at 6:20 PM,