On 1 July 2011 07:28, Paul Harris <harris.pc(a)gmail.com> wrote:
Hi again,
I really like the CheckRights tool in the Admin Tool
http://extensions.xwiki.org/xwiki/bin/view/Extension/AdminTools
However, it doesn't have the ability to check the rights of the
Unregistered User.
Can someone please help me to tweak the code so that it can check the
rights?
thanks
Paul
I think I figured it out... I edited the page and added a line:
println "<select name='user'>"
ADD -- println "<option value='XWiki.XWikiGuest'>XWikiGuest
(unregistered
user)</option>"
for (item in xwiki.searchDocuments(sql)) {
def username = xwiki.getUserName(item, false)
println "<option value='${item}'>${username}</option>"
}
println "</select>"
Can I get this checked and updated in the extension?