[xwiki-users] help to migrate from xwiki 2.3
Hello all, I finally got new environment to migrate our 'old' Xwiki 2.3 to 6.1 (oracle 11, tomcat 7,...). Fresh install is good When I migrate the db from 2.3 to 6.1, everything seems ok but not when I import the default xar 6.1. After import, every users have rights to see admin menu (in home) and have access :/ (users don't have admin rights of course) Any idea how I can fix this? Do I have to migrate to intermediate version before the 6.1? Patrick
The condition used to display the link to the wiki administration in the Home menu is this: $xwiki.hasAccessLevel('admin', $xcontext.user, "${xcontext.mainWikiName}:XWiki.XWikiPreferences") Put this in a wiki page, inside Velocity macro, and see if the output for a simple user is 'true'. If so, then you need to check the Access Rights configuration from the Administration. Check the rights given to that user directly, then check the rights given to the groups the user belongs to. You can also edit in object mode the XWiki.XWikiPreferences page to see what rights objects it has. Hope this helps, Marius On Thu, Jul 17, 2014 at 8:26 PM, Moens Patrick <[email protected]> wrote:
Hello all,
I finally got new environment to migrate our 'old' Xwiki 2.3 to 6.1 (oracle 11, tomcat 7,...).
Fresh install is good
When I migrate the db from 2.3 to 6.1, everything seems ok but not when I import the default xar 6.1. After import, every users have rights to see admin menu (in home) and have access :/ (users don't have admin rights of course)
Any idea how I can fix this?
Do I have to migrate to intermediate version before the 6.1?
Patrick
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Marius Dumitru Florea -
Moens Patrick