07-06-17.升级PageComment2 ACL
建议啄木鸟给信任组开放删除垃圾评论甚至封 spamer 帐号的权限!大家意见如何?
响应号召,升级 PageComment2 代码,支持啄木鸟定制 ACL
Index: PageComment2.py
===================================================================
--- PageComment2.py (版本 2003)
+++ PageComment2.py (工作副本)
@@ -505,7 +505,9 @@
# Global variables
Globs.macro = macro
- Globs.defaultacl = u'#acl All:'
+ #Globs.defaultacl = u'#acl All:'
+ ## zoomq::070618 for PageComment2 Spamer
+ Globs.defaultacl = u'#acl TrustedGroup:read,write,revert All:'
Globs.adminmsg = ''
Globs.debugmsg = ''
Globs.customscript = ''