Rudolf Tronicek wrote:
Hi,
i've created 1000 users via Groovy script. Each user document (profile) has a
TacClass, a XWikiUsers and two XWikiRights objects.
If i call the object editor at user profile page to make some changes to XWikiUsers
object it takes long before the data appears.
Other object edits slowed down as well.
Is there a known reason? Is there a known possibility to accelerate access to objects
belonging to the current document (creation of some index in database, ...)?
Thanks,
It is a problem because the object editor displays the access rights
objects, which use a list with all the users to choose from. This is
good for small wikis, but doesn't scale for many users. To fix this, you
can go edit the XWiki.XWikiRights class
(
http://localhost:8080/xwiki/bin/edit/XWiki/XWikiRights?editor=class)
and change the display type of the users field to "input".
Alternatively, you can open just the XWikiUsers object in the object
editor, by appending &classname=XWiki.XWikiUsers to the URL, for example:
http://localhost:8080/xwiki/bin/edit/XWiki/Admin?editor=object&classnam…
--
Sergiu Dumitriu
http://purl.org/net/sergiu/