Ok the issue was that the AppWithinMinutes.DynamicMessageTool page has lost its PR after
the wiki upgrade… :( (Thanks Denis for finding out)
I’ve sent another mail related to fixing PR-requiring-pages.
Thanks
-Vincent
On 19 Aug 2017, at 12:18, Vincent Massol
<vincent(a)massol.net> wrote:
Hi Denis,
On 19 Aug 2017, at 12:02, Denis Gervalle
<dgl(a)softec.lu> wrote:
Vincent,
Emmanuel was admin but didn’t have script rights
How could this be ? If you have ADMIN right, you have SCRIPT right and there is no
way to loose it. So the current design is probably not the cause of your issue, but we
might have some hidden bug or some misunderstanding here.
Ok I assumed is was because of this reason but it could be something else indeed
The problem I saw was on:
http://lescastcodeurs.myxwiki.org/xwiki/bin/edit/Episodes/Code/EpisodesClas…
There’s this error:
"org.xwiki.rendering.macro.MacroExecutionException: The execution of the [groovy]
script macro is not allowed. Check the rights of its last author or the parameters if
it's rendered from another script."
I tried to found the issue on your wiki without
success. Did you fix the problem ? if so, how ? or can you show me where you see an issue
in order to understand the real problem you are facing ?
No I haven’t fixed it yet. I’m currently improving
http://extensions.xwiki.org/xwiki/bin/view/Extension/Change%20creator%2C%20…
to handle nested pages.
Thanks for looking into this
-Vincent
Regards,
--
Denis Gervalle
SOFTEC sa - CEO
On Sat, Aug 19, 2017 at 11:42, Vincent Massol <vincent(a)massol.net> wrote:
Hi devs,
I’d like to raise a pain point.
Environment:
*
myxwiki.org
* lescastcodeurs wiki
What happened:
* We upgraded
myxwiki.org
* Emmanuel (an Admin user of the lescastcodeurs wiki) got the Distribution Wizard and
followed it to upgrade the wiki
The problem:
* Several features are broken. For example AppWithinMinutes (some pages display red boxes
saying that the last author didn’t have script rights)
The reason:
* Emmanuel was admin but didn’t have script rights (after some xwiki upgrade that caused
existing users to not have script rights if not set explicitly)
* For ex on the AppWithinMinutes space:
https://www.evernote.com/l/AHcaXGYEzdZJXLTQEy2Vbohcfzu5vMbxkBM
Brainstorming:
1) What should we do to not have this problem?
2) What solution do we offer to fix it easily?
Re 2) we have:
*
http://extensions.xwiki.org/xwiki/bin/view/Extension/Change%20Content%20Aut…
*
http://extensions.xwiki.org/xwiki/bin/view/Extension/Change%20creator%2C%20…
However none are good for me without changes since they either change all pages in the
wiki (which is not what I want) or they change only a single page.
Any idea?
Thanks
-Vincent