Here's a snippet from my LUG's wikiconfig.py file that should get the
ACL line that I mentioned in hccop-discuss to work.  I noticed that
someone tried to add the line and mentioned that it didn't work, hence
this message.

The AdminGroup is just a sanity check, in case someone puts an ACL on
a page that locks everyone (including themselves) out, so that an
admin can change the ACL.  This line could potentially be changed
or removed, depending on our needs.

    # Security ----------------------------------------------------------

    # Security critical actions (disabled by default)
    # Uncomment to enable options you like.
    allowed_actions = ['DeletePage', 'AttachFile', 'RenamePage']
    
    # Enable acl (0 to disable)
    acl_enabled = 1

    # IMPORTANT: grant yourself admin rights! replace YourName with
    # your user name. See HelpOnAccessControlLists for more help.
    # All acl_right_xxx must use unicode [Unicode]
    acl_rights_after = u"All:read,write"
    acl_rights_before = u"AdminGroup:admin,delete,read,revert,write"
    acl_rights_default = u"Known:admin,read,revert,write"
    
    # Link spam protection for public wikis (Uncomment to enable)
    # Needs a reliable internet connection.
    from MoinMoin.util.antispam import SecurityPolicy

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
 |_] | \| |_| Reclaim your digital rights by eliminating DRM.
      See http://www.defectivebydesign.org/what_is_drm for details.

Attachment: pgpzRjPQVE4s6.pgp
Description: PGP signature

_______________________________________________
HCoop-SysAdmin mailing list
[email protected]
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-sysadmin

Reply via email to