The Polls app does support adding new topics/votes/etc easily, and is a nice
merging of a poll into a wiki-document.
The only annoying thing is that it requires edit privs in the "Polls" space
where the code exists, or at least in the space holding the the polls. This
is because the Polls space is the default location for the poll documents to
be created.
It would be nice if it was an option to hide the voting record (it displays
who voted for what). It also allows people to change their vote up till the
end of the polling period, which should be an option as well.
If you wanted to poll people without having them register&login (or expose
their vote), you'd need to make the "Polls" space publicly writable by
using "Rights" to edit XWikiPreferences specifically for the "Polls"
space,
selecting "users" option, and selecting "edit" for "Unregistered
Users."
A different Space could be used to hold the polls, (which is good, you
wouldn't want unregistered users editing the "Polls" templates/code/etc),
but I don't believe that space is selected by default in the Polls.WebHome
option-menu for selecting the location for the new poll to reside. This will
need to be documented or edited to hard-code a specific publicly-alterable
space, although this is an admin or poll-taker's issue. If unregistered
users can edit a particular space containing Polls in order to enter a vote,
wouldn't they also be able to edit the polls themselves?
What's the right way of resolving this issue for XWiki apps?
I guess making each "public" polll-document world editable, rather than
making the entire space world-editable makes the most sense. However, in
that case, a nonregistered user could still manually enter the bin/edit
rather than bin/view URL and edit the poll data. If anybody has suggestions
on the correct way to handle security issues and have a working Polls app,
I'm interested.
The polls app contains the following docs, fyi: Polls.WebHome
Polls.CreatePoll Polls.PollEditSheet Polls.PollMetaClass
Polls.PollOptionClass Polls.PollSheet Polls.PollTemplate Polls.PollViewSheet
Polls.PollVoteClass .
-- Niels
http://nielsmayer.com
On Fri, Feb 20, 2009 at 4:46 AM, Vincent Massol <vincent(a)massol.net> wrote:
On Feb 20, 2009, at 1:21 PM, pkernevez wrote:
Hi,
We are using XWiki for the
http://jugl.ch JUGL .
We want that all users would be able to add new subjects and vote on
already
purpose subjects.
At this time we are using doodles, it works fine for the votes but all
participants can't add new subject to the list.
Is there a better way using XWiki and its plugins for our meeting
organisation ?
Maybe the poll application would help:
http://code.xwiki.org/xwiki/bin/view/Applications/PollsApplication
I don't know if it supports adding new topics on the fly but it
wouldn't be hard to improve it to do so I think.
Check at the end of that page there's a link to polldaddy too.