Changeset 61

Show
Ignore:
Timestamp:
07/12/05 18:16:36 (3 years ago)
Author:
athomas
Message:
  • Fixed issue with appendonly. No need to escalate privileges to insert wiki pages now, apparently.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • addcommentmacro/trunk/AddComment.py

    r59 r61  
    6969            newtext.write(line + "\n") 
    7070        if submitted: 
    71             # XXX Is this the dodigest hack ever? This is needed in  
     71            # XXX Is this the dodgiest hack ever? This is needed in  
    7272            # "appendonly" mode when the page is readonly. XXX 
    73             if appendonly: 
    74                 perm.expand_meta_permission('WIKI_ADMIN'); 
     73#            if appendonly: 
     74#                perm.expand_meta_permission('WIKI_ADMIN'); 
    7575            # TODO: How do we get remote_addr from a macro? 
    7676            page.text = newtext.getvalue()