+1 On Wed, Dec 14, 2011 at 10:06 PM, Eduard Moraru <[email protected]> wrote: > Hi devs, > > Right now, when you create a wiki template from a xar, the import that is > done in the background is a backup import, meaning that the last author of > the pages that get imported in the new wiki keep the author specified by > the xar. This often creates problems like: > - Missing Programming Rights > - Unregistered macros > - Malfunctioning scripts > > These problems can appear because the user specified in the xar (even if it > is XWiki.Admin) is almost always a local user and subwiki local users do > not have PR. > If it's not a PR issue, then the user specified in the xar can be > non-existent and this makes admin checks fail, thus failing wiki macro > registration for the entire subwiki. > > We are currently experiencing this problem in Workspaces, since, at the > install step, we create a workspace template by using a > workspace-template.xar (default XE but can also be user provided). Since we > make sure to delete any local users (including XWiki.Admin), the Wiki > macros will not be registered in the template and, obviously, neither in > any created workspace. > > I`m hoping to include this in 3.3 final so that Workspaces can avoid the > macro registration problems (and possibly others). > > So I`m asking for your vote to change the current default to non-backup. > This means that all the pages in the new subwiki template will have the > current admin user that created the template as last author. > > Here's my +1. > > Thanks, > Eduard > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

