diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-09 15:39:00 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-09 15:39:00 -0400 |
commit | 48a5f9f2d8daef8c16b3e4b00511e00eaa0fa024 (patch) | |
tree | 08830250e168b2f8e11bd63951a9dabe34110476 /doc/todo | |
parent | 1a880b7d7bcb8da5b1b07baf0fabecac3892b219 (diff) | |
download | ikiwiki-48a5f9f2d8daef8c16b3e4b00511e00eaa0fa024.tar ikiwiki-48a5f9f2d8daef8c16b3e4b00511e00eaa0fa024.tar.gz |
Disable the Preferences link if no plugin with an auth hook is enabled.
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/Allow_disabling_edit_and_preferences_links.mdwn | 10 |
1 files changed, 10 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 5b9cc8742..4277ae899 100644 --- a/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn +++ b/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn @@ -67,3 +67,13 @@ Patch: >>> 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]] + +>>>> Hmm, using the `auth` hook existance does seem like a nice solution. +>>>> While splitting the preferences code out into its own plugin is +>>>> easily enough done, it has the minor problem of being yet another +>>>> file nearly all ikiwikis will have to load, and also, prefs would +>>>> have to be disabled manually. So I like that using the hook would +>>>> cause it to auto-disable if nothing uses it. It's a bit ugly that +>>>> passwordauth doesn't need an auth hook (it could be reorged to +>>>> use it instead of formbuilder, maybe) and would probably just have an +>>>> empty one. Thanks for the idea. --[[Joey]] [[done]] |