Tags:
create new tag
, view all tags

Question

Our users would like to be able to "check-in" and "check-out" documents stored on our TWiki pages as attachments. I cannot see a way to do this -- but I am thinking that others must have come up against this before? Is there a way to lock an attachment (for check-out) and unlock the attachment (when checking in)?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux
Web server: IBM WebSphere
Perl version: Perl 5
Client OS: MS Windows XP
Web Browser: IE
Categories: Permissions, Version control, Missing functionality

-- StevenElliot - 26 Apr 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

mmm, this would be a relativly simple Plugin to write, but I don't recal anyone releasing one that does it no. If you need help - see ConsultantsForHire and CodersForHire.

-- SvenDowideit - 30 Apr 2007

I am thinking about implementing this. My first attempt would be to disable the 'Upload File' button in the attach template if the attachment comment filed contains a specific string (e.g. "LOCKED"). *Question:*Does anyone know if there's already a function to pull the comment field out of the META:FILEATTACHMENT line in the topic ?

-- SteveJonesST - 25 Jul 2007

 
Change status to:
Topic revision: r4 - 2007-07-25 - SteveJonesST
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.