Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-18 Thread Hamster
-bump-



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589641.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-18 Thread Jeremie BOUSQUET
You need to:
- give PR right to the GLOBAL Admin user, or to your administrative user
(not on XWiki space specifically, but globally for that user)
- be logged with this GLOBAL user when you try to install the extension
For the first part, you need to check that you are in the global
administration section of your main wiki (not in a space admin, not in a
subwiki).
For the second part, you can check if your user is local or global by going
to the profile (top-right), and check the url. If that url targets a
subwiki your user is a local user and it's no good. Logout, browse to the
main wiki, and login again.


2014-03-18 7:57 GMT+01:00 Hamster teun...@hotmail.com:

 -bump-



 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589641.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

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


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-15 Thread Hamster
I am at a total loss right now...can anyone show me *what* (rights) I need to
change *where* so I can install the Column Macro?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589602.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread Hamster
Ok,  so I want to install the Column Macro, but I am getting this error when
I try to install it by the Extension Manager:

Programming right is required to install extension
[jeromevelociter:column-macro-1.0] on namespace [wiki:xwiki]

So I go to the XWiki Administration -- Rights -- And I grant the Admin
Programming Rights for the XWiki Administation (there's now a green
mark/tick). But I still can't install the macro. If I select the XWiki
space, I can't set any programming rights (that column is only available on
the XWiki Administration).


Help!!!





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread Hamster
Thinking about this...

An administrator should ALWAYS be able to install any extension...so
guys...please fix this!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589569.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread vinc...@massol.net

On 13 Mar 2014 at 13:12:44, Hamster 
(teun...@hotmail.com(mailto:teun...@hotmail.com)) wrote:

 Thinking about this...  
  
 An administrator should ALWAYS be able to install any extension...so  
 guys...please fix this!  

An administrator isn’t the highest authority in a wiki and he doesn’t have PR 
by default. 

See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights#HSpecialpermissions

Thanks
-Vincent

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


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread Hamster
Ok, so what does this green tick do?

http://xwiki.475771.n2.nabble.com/file/n7589571/PR.jpg 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589571.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread vinc...@massol.net

On 13 Mar 2014 at 14:16:56, Hamster 
(teun...@hotmail.com(mailto:teun...@hotmail.com)) wrote:

 Ok, so what does this green tick do?

It gives PR to your “Admin” user but if your Admin user is *local* to a subwiki 
it won’t have any effect since you need a global user to have PR on the farm to 
be able to have PR on a subwiki. Otherwise any local subwiki admin would be 
able to modify anything anywhere in the farm.

I agree that an improvement would be to NOT show this column in the admin of 
subwikis. You could create a jira issue for that IMO.

Thanks
-Vincent

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


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread Hamster
Ok, so I set PR rights to myself...but I can not administer the Wiki. So
I can't get to the Extension Manager to install the Column Macro!!!

So now I need to give myself full admin rights to the wiki too???

As you can see...this is getting rediculously complicated!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589573.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread vinc...@massol.net
Please start by explaining what you did precisely. I still don’t know what 
you’ve done. I explained different cases where what you did wouldn’t work but 
I’m guessing since you didn’t take the time to explain what you did… I’ve lost 
a lot of my time already, trying to help you and trying to guess what you did…

Thanks
-Vincent

On 13 Mar 2014 at 14:33:43, Hamster 
(teun...@hotmail.com(mailto:teun...@hotmail.com)) wrote:

 Ok, so I set PR rights to myself...but I can not administer the Wiki. So
 I can't get to the Extension Manager to install the Column Macro!!!
  
 So now I need to give myself full admin rights to the wiki too???
  
 As you can see...this is getting rediculously complicated!
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread Hamster
Ok, I will try to explain:

We were on XWiki 4.0 previously. On that XWiki I used the Admin user to
manage the XWiki, installing extensions never gave me any trouble.

Now, we are moving to XWiki 5.4.2, and suddenly my Admin user can't be
used anymore to install a simple Extension like the Column Maco. The user
who installs the Column Macro needs to have PR, but the Admin user doen't
have PR by default.

But giving the Admin user PR doesn't cut it. The Admin user still can't
install the Column Macro.

So now I am trying to grant *myself* both PR rights and the right to
administer the XWiki (as I need to be able to get to the Extension Manager
to install the Column Macro).





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589575.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread Hamster
What I have done now:

-I have given myself Admin Rights to the XWiki space. This way I can
administer the XWiki.
(Administration -- Users  Groups -- Rights -- Filter on myself, then
select Edit space preferences -- XWiki, than add green mark/tick under
Admin)

-I have given myself PR to 
(Administration -- Users  Groups -- Rights -- Filter on myself, Edit
Wiki Preferences -- Wiki administration, than add green mark/thick under
Programming)

Result: I can't install the Column Macro :-(
The same error message is being displayed.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589576.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights

2014-03-13 Thread Hamster

Starting job of type [installplan] with identifier
[extension/plan/jeromevelociter:column-macro/wiki:xwiki]

Resolving extension [jeromevelociter:column-macro-1.0] on namespace [xwiki]

Programming right is required to install extension
[jeromevelociter:column-macro-1.0] on namespace [wiki:xwiki] 
class org.xwiki.extension.InstallException: Failed to resolve extension
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:698)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:389)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:288)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:218)
at
org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:154)
at
org.xwiki.job.internal.DefaultJobManager.runJob(DefaultJobManager.java:134)
at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:113)
at java.lang.Thread.run(Thread.java:701)
Caused by: class org.xwiki.extension.InstallException: Programming right is
required to install extension [jeromevelociter:column-macro-1.0] on
namespace [wiki:xwiki]
at
org.xwiki.extension.script.internal.XWikiExtensionValidator.checkInstall(XWikiExtensionValidator.java:175)
at
org.xwiki.extension.handler.internal.AbstractExtensionHandler.checkInstall(AbstractExtensionHandler.java:101)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:800)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:696)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:389)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:288)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:218)
at
org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:154)
at
org.xwiki.job.internal.DefaultJobManager.runJob(DefaultJobManager.java:134)
at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:113)
at java.lang.Thread.run(Thread.java:701)

Finished job of type [installplan] with identifier
[extension/plan/jeromevelociter:column-macro/wiki:xwiki]




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589577.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users