summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorLunar <lunar@qamar.(none)>2009-06-05 13:22:03 +0200
committerLunar <lunar@qamar.(none)>2009-06-05 13:22:03 +0200
commite78883e07fc518cea2315b3765631d747550905a (patch)
tree23f2348b252098c027690d4f57c7bf1c59d058e2 /doc/todo
parent27624f045608e131d376e90d963bc5aa7c6ab419 (diff)
Some thoughts on how to disable 'Preferences' link when irrelevant
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/Allow_disabling_edit_and_preferences_links.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn b/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
index a356c69df..5b9cc8742 100644
--- a/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
+++ b/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
@@ -52,3 +52,18 @@ Patch:
>>> is not controlled by any plugin. It would be nice if it were; I am
>>> trying to achieve a configuration where the only action supported
>>> via CGI is blog-style comments. --[Zack](http://zwol.livejournal.com/)
+
+>>> Like [[puck]], I'd like to keep search available but I want to disable all
+>>> login facitilities and thus disable the "Preferences" link.
+>>>
+>>> After digging a little bit in the source code, my first attempt was to make
+>>> the "Preferences" link appear only if there is `sessioncgi` hooks
+>>> registered. But this will not work as the [[plugins/inline]] plugin also
+>>> defines it.
+>>>
+>>> Looking for `auth` hooks currently would not work as at least
+>>> [[plugins/passwordauth]] does not register one.
+>>>
+>>> Adding a new `canlogin` hook looks like overkill to me. [[Joey]], how
+>>> about making registration of the `auth` hook mandatory for all plugins
+>>> making sense of the "Preferences" link? --[[Lunar]]