Пятница, 30 августа 2013, 8:23 +02:00 от Thomas Mortagne 
<thomas.morta...@xwiki.com>:
>On Thu, Aug 29, 2013 at 7:14 PM, Dmitry Bakbardin < haru_mamb...@mail.ru > 
>wrote:
>>  Hi, Thomas,
>>
>> Thanks a lot, now it works. But anyhow, there is a problem to resave macro 
>> pages, UI pages to make it running. Is there any other solution to make it 
>> working out of the box?
>
>You don't have to resave pages, these pages were installed with a user
>that does not have PR so you had to save them with a proper one. I will 
>describe full process to make clear how it happened:
- Brand new XEM
- New GlobalUser was created and PR rights were assigned. This user was logged 
in and all futher manipulations are done under this account (!) .
- XEM creates workspacetemplate automatically
- Few pages were modified in the workspacetemplate (logo + panels)
- New workspace was created from the template
- Attempt to install extension into the new workspace gives " Admin right is 
required to install extension..."

What was wrong in this case?
I mean were the "user with no admin rights" is taken from to save new 
workspace/workspacetemplate pages?

>
>
>>
>>
>> Kind regards,
>>
>> Dmitry
>>
>> Четверг, 29 августа 2013, 11:32 +02:00 от Thomas Mortagne < 
>> thomas.morta...@xwiki.com >:
>>>It's possible the issue you have has nothing to do with the current
>>>user but with the current author (which is checked too so that you
>>>don't end up in a situation when anyone can install anything just by
>>>waiting that an admin goes to a page).
>>>
>>>Try to resave the  http://mysubwikihost/xwiki/bin/view/XWiki/AddExtensions 
>>>page.
>>>
>>>On Thu, Aug 8, 2013 at 3:11 PM, Dmitry Bakbardin <  haru_mamb...@mail.ru > 
>>>wrote:
>>>>  User is Global, member of the definite Global Group. Global Group has ALL 
>>>> rights on sub-wiki.
>>>> There is no problem to save pages with programming rights in this 
>>>> sub-wiki. The only problem is Extension manager in there.
>>>>
>>>>
>>>> Четверг,  8 августа 2013, 15:05 +02:00 от Jeremie BOUSQUET <  
>>>> jeremie.bousq...@gmail.com >:
>>>>>Hi,
>>>>>I think maybe even if user is global and has admin rights on main wiki, he 
>>>>>doesn't have by default admin rights on sub-wikis.
>>>>>I'm not very sure, but you might want to check its rights in the local 
>>>>>wiki admin.
>>>>>Also, I didn't think XEM could manage global users in sub-wikis but I'm 
>>>>>even less sure of that ;-)
>>>>>
>>>>>BR,
>>>>>Jeremie
>>>>>
>>>>>
>>>>>2013/8/8 Dmitry Bakbardin  <  haru_mamb...@mail.ru >
>>>>>> Hi!
>>>>>>
>>>>>>XEM 4.3. Attempt to install Freemind Macro to the sub-wiki via sub-wiki's 
>>>>>>Extension Manager:
>>>>>>
>>>>>>
>>>>>>    Resolving extension [fmancinelli:freemind-macro-1.0] on namespace 
>>>>>> [wiki:staff]
>>>>>>    Admin right is required to install extension 
>>>>>> [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff]
>>>>>>
>>>>>>The problem is: user is Global and has programming rights. Is it expected 
>>>>>>behaviour or bug?
>>>>>>
>>>>>>
>>>>>>Error details are following:
>>>>>>
>>>>>>    class org.xwiki.extension.InstallException: Failed to resolve 
>>>>>> extension at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:685)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
>>>>>>  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
>>>>>> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
>>>>>> at java.lang.Thread.run(Thread.java:722) Caused by: class 
>>>>>> org.xwiki.extension.InstallException: Admin right is required to install 
>>>>>> extension [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff] at 
>>>>>> org.xwiki.extension.xar.internal.handler.XarExtensionHandler.checkInstall(XarExtensionHandler.java:308)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:771)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:683)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
>>>>>>  at 
>>>>>> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
>>>>>>  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
>>>>>> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
>>>>>> at java.lang.Thread.run(Thread.java:722)
>>>>>>
>>>>>>
>>>>>>
>>>>>>Kind regards,
>>>>>>
>>>>>>Dmitry
>>>>>>_______________________________________________
>>>>>>users mailing list
>>>>>>users@xwiki.org
>>>>>>  http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>>
>>>>
>>>> Kind regards,
>>>>
>>>> Dmitry
>>>> _______________________________________________
>>>> users mailing list
>>>>  users@xwiki.org
>>>>  http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>>>
>>>--
>>>Thomas Mortagne
>>
>> _______________________________________________
>> users mailing list
>>  users@xwiki.org
>>  http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>-- 
>Thomas Mortagne
Kind regards, 

Dmitry

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to