Re: [xwiki-users] programming rights in xwiki farm
Hi, I don't know AppWithinMinutes very well but I don't really see exactly what it has to do with the rest of the mail. AFAIK you don't need PR to use AppWithinMinutes. Also what I said is that a user from subwiki does not have programming right but you can save a page from any wiki using a global user (user from main wiki). You just need to log in the subwiki with your global user. Please to send direct mail, better use the mailing list. On Thu, Oct 11, 2012 at 11:08 PM, <poppakap@yahoo.com> wrote:
Hi Thomas, I am a bit perplexed. The AppWithinMinutes won't run in a sub-wiki then? I created an app in the main wiki, but in a sub wiki I am getting that macro error.
<quote author='Thomas Mortagne'> On Sat, Apr 28, 2012 at 2:52 PM, Bob Egolf <egolfb@gmail.com> wrote:
I have been running a simple xwiki farm with 2 sub wikis for some time and I recently tried to add a macro with a groovy script in the sub-wiki and got the "You don't have the right to execute this script". I tried to grant programming to the user by logging into the wiki farm site and granting programming to the group and to the user I am using in the sub-wiki. I imported the Admin tools application and ran the Programming rights Check and applied the config.
I still am not able to grant the user programming rights and my macro with the script will not run, same permissions error. I have tried to create a new user in the wiki farm and grant programming to it, but when I login to the subwiki it has no permissions so I don't believe I have him setup quite right.
This is running XWiki Enterprise 2.3.1.29183 build, not sure where to go from here.
Users from subwikis don't have programming right, never. There is nothing you can do to make them have it.
So you will have to use a user from main wiki to save your macro document.
Any help appreciated. Bob _______________________________________________ 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
</quote> Quoted from: http://xwiki.475771.n2.nabble.com/programming-rights-in-xwiki-farm-tp7508804...
-- Thomas Mortagne
On Fri, Oct 12, 2012 at 10:20 AM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi,
I don't know AppWithinMinutes very well but I don't really see exactly what it has to do with the rest of the mail. AFAIK you don't need PR to use AppWithinMinutes.
You don't need PR to *use* AppWithinMinutes but its (internal) pages (especially the class edit sheet) needs to be saved by a user that has PR (a global user in your case as Thomas suggested). Hope this helps, Marius
Also what I said is that a user from subwiki does not have programming right but you can save a page from any wiki using a global user (user from main wiki). You just need to log in the subwiki with your global user.
Please to send direct mail, better use the mailing list.
On Thu, Oct 11, 2012 at 11:08 PM, <poppakap@yahoo.com> wrote:
Hi Thomas, I am a bit perplexed. The AppWithinMinutes won't run in a sub-wiki then? I created an app in the main wiki, but in a sub wiki I am getting that macro error.
<quote author='Thomas Mortagne'> On Sat, Apr 28, 2012 at 2:52 PM, Bob Egolf <egolfb@gmail.com> wrote:
I have been running a simple xwiki farm with 2 sub wikis for some time and I recently tried to add a macro with a groovy script in the sub-wiki and got the "You don't have the right to execute this script". I tried to grant programming to the user by logging into the wiki farm site and granting programming to the group and to the user I am using in the sub-wiki. I imported the Admin tools application and ran the Programming rights Check and applied the config.
I still am not able to grant the user programming rights and my macro with the script will not run, same permissions error. I have tried to create a new user in the wiki farm and grant programming to it, but when I login to the subwiki it has no permissions so I don't believe I have him setup quite right.
This is running XWiki Enterprise 2.3.1.29183 build, not sure where to go from here.
Users from subwikis don't have programming right, never. There is nothing you can do to make them have it.
So you will have to use a user from main wiki to save your macro document.
Any help appreciated. Bob _______________________________________________ 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
</quote> Quoted from: http://xwiki.475771.n2.nabble.com/programming-rights-in-xwiki-farm-tp7508804...
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Marius Dumitru Florea -
Thomas Mortagne