]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/index/discussion.mdwn
web commit by JoshTriplett: Use conditional.
[git.ikiwiki.info.git] / doc / index / discussion.mdwn
index e60ab0f50229970f306699ffe6196caae6cef5e4..f15d91c6d3615d7b63fd6134b8420b7a890ef4e7 100644 (file)
@@ -117,7 +117,7 @@ actions.  However, it may not be something everyone appreciates.  Any thoughts?
 --[Mazirian](http://mazirian.com)
 
 > Maybe, although it would need to take the critisism at
-> http://www.cs.tut.fi/~jkorpela/forms/accesskey.html into account.
+> <http://www.cs.tut.fi/~jkorpela/forms/accesskey.html> into account.
 
 >> Thank you for that link. Given that the edit link is the first thing you tab to
 >> in the current layout, I guess it isn't all that necessary. I have had a 
@@ -165,18 +165,26 @@ Clicking on an old "?" or going to a create link but new Markdown content exists
 
 ----
 
-# Discuss without login? Or feedback forum? Or fine-tuned per-page access control?
+# User database tools?
 
-Any plugin or option for allowing website visitors to edit the discuss page without logging in (without having ikiwiki accounts)?
+Any tool to view user database?
 
-Or any plugin to add a feedback form (and maybe threads) to extend a Wiki webpage?
+Any tool to edit the user database?
 
-Or is there per-page access control that can be fine-tuned to lock some users or groups for specific pages?
-(The [[pagespec]] does show a way to lock all pages except for Discussion pages, but I want some users to also be able to edit other pages.)
+> No, but it's fairly easy to write such tools in perl. For example, to
+> list all users in the user database:
 
-I want a way for website visitors to be able to give feedback on the wiki pages without having to sign up or log in.
-I don't want them to be able to edit the exiting wiki pages except maybe Discussion page.
+       joey@kodama:~/src/joeywiki/.ikiwiki>perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); print $_ foreach keys %$userinfo'         
+       http://joey.kitenet.net/
+       foo
 
-(For some reason, it seems like I asked this before ...)
+> To list each user's email address:
 
---JeremyReed
\ No newline at end of file
+       joey@kodama:~/src/joeywiki/.ikiwiki>perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); print $userinfo->{$_}->{email} foreach keys %$userinfo'
+       
+       joey@kitenet.net
+
+> Editing is simply a matter of changing values and calling Storable::store().
+> I've not written actual utilities to do this yet because I've only needed
+> to do it rarely, and the data I've wanted has been different each time.
+> --[[Joey]]