The rename section is working now, but I ran into a small UI problem. On TagMeManage I've put the rename section below the Create New Tag section just below the New Tag form is a list of existing tags. But when I rename a tag, the list of tags is displayed before the tag is renamed, so the list is outdated immediately.
--
TWiki:Main/ArthurClemens - 29 Mar 2007
Solution: create a tab interface for the 'manage' topics Create, Rename and Delete, each on its own page.
--
TWiki:Main/ArthurClemens - 29 Mar 2007
My Cairo TWiki gave an internal server error:
Undefined subroutine &TWiki::Func::addToHEAD called at /path/to/twiki/lib/TWiki/Plugins/TagMePlugin.pm line 137.
We need to decide if we want to drop Cairo compatibility or not.
--
TWiki:Main.PeterThoeny - 30 Mar 2007
Ugly. Is there no Cairo way to add css link to head?
Otherwise we might write the css in the topic itself if the version is Cairo.
- Remarkable that TWiki does not have a standard way to check the release version! I see code like
if( $TWiki::Plugins::VERSION >= 1.1 )
and if ($TWiki::Plugins::VERSION eq 1.025)
and if( defined $TWiki::cfg{DataDir} )
Regarding maintaining compatibility it probably depends on how many Cairo installations use the plugin.
--
TWiki:Main.ArthurClemens - 31 Mar 2007
Dare I say it, but 12 month is a long enough time to upgrade to TWiki 4. So I think not too much harm is done if this plugin required TWiki 4.0 and up.
The
$TWiki::Plugins::VERSION
is the right way to check for TWiki version.
--
TWiki:Main.PeterThoeny - 02 Apr 2007
I have created the tab interface for Create, Rename and Delete.
--
TWiki:Main.ArthurClemens - 02 Apr 2007
To Do: Add (optional) access control for Rename and Delete. Possibly let users rename and delete their own tags only, and admins all tags?
--
TWiki:Main.ArthurClemens - 09 Apr 2007
Suggestion: Add a group name (as a plugin setting) that can rename/delete tags. If empty, anyone has access.
--
TWiki:Main.PeterThoeny - 09 Apr 2007
ALLOWTAGCHANGE = SomeGroup, SomeOtherGroup
and
ALLOWUSERCHANGEMYTAGONLY = 1
-
ALLOWTAGCHANGE
overrides ALLOWUSERMYTAGCHANGE
-
ALLOWTAGCHANGE
set to empty let anyone change tags, unless ALLOWUSERCHANGEMYTAGONLY
is set to 1
- If
ALLOWUSERCHANGEMYTAGONLY
set to 1, users not in ALLOWTAGCHANGE
groups will only see their own tags in Rename and Delete. The exact spec has to be written out still.
--
TWiki:Main.ArthurClemens - 09 Apr 2007
I have implemented tag change permissions with
ALLOW_TAG_CHANGE
. The idea of users being allowed to change their own tags has to wait a little.
--
TWiki:Main.ArthurClemens - 18 Apr 2007