]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/index/discussion.mdwn
respond
[git.ikiwiki.info.git] / doc / index / discussion.mdwn
index e60ab0f50229970f306699ffe6196caae6cef5e4..374391cdaf3f29af05cf1b12cdf18a94ab5ab4cf 100644 (file)
@@ -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]]