I wrote:
> > Fair enough. For some reason I'm really struggling to include the right
> > repository for Platform. What details should I be using in my settings.xml?
> > I've included everything from the example in
> > http://dev.xwiki.org/xwiki/bin/view/Community/Building but I still can't
> > reso
On Fri, Jul 31, 2015 at 9:47 AM, Bryn Jeffries
wrote:
> Thomas Mortagne wrote:
>>
>> DocumentAccessBridge is still the current way to get the context user.
>>
>> Now the way ExecutionContext has been designed it will always be generic
>> and you are supposed to use specialised API to access someth
Thomas Mortagne wrote:
>
> DocumentAccessBridge is still the current way to get the context user.
>
> Now the way ExecutionContext has been designed it will always be generic
> and you are supposed to use specialised API to access something like the
> current user (you are not supposed to know ho
DocumentAccessBridge is still the current way to get the context user.
Now the way ExecutionContext has been designed it will always be
generic and you are supposed to use specialised API to access
something like the current user (you are not supposed to know how
exactly it's stored in the context
Hi Olivier,
On 31 Jul 2015 at 08:52:14, Studer Olivier
(olivier.stu...@hefr.ch(mailto:olivier.stu...@hefr.ch)) wrote:
> So if I want to change the ROOT path to "/", the bug is not present in
> version 7.0 ? Yes or no?
Yes but 7.0 has other problems (see
http://www.xwiki.org/xwiki/bin/view/Re
Some time last year I had to write a component for XWiki 6.3 that required the
current user name, which following the advice at the time required injecting a
DocumentAccessBridge:
@Inject
private DocumentAccessBridge documentAccessBridge;
and then calling documentAccessBridge.getCurrent