Attachment 'autoadmin.py.1.9.3.patch'

Download

   1 --- autoadmin.py.dist	2010-06-26 23:46:44.000000000 +0200
   2 +++ autoadmin.py	2010-09-01 15:29:17.000000000 +0200
   3 @@ -73,7 +73,7 @@
   4              username = request.user.name
   5              pagename = request.page.page_name
   6              mainpage = pagename.split('/')[0]
   7 -            if username == mainpage and username in groups.get(u'AutoAdminGroup', []):
   8 +            if username == mainpage and (username in groups.get(u'AutoAdminGroup', []) or u'Known' in groups.get(u'AutoAdminGroup', [])):
   9                  return True
  10              group_name = "%s/AdminGroup" % mainpage
  11              if (username in groups.get(group_name, []) and

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-03-25 00:35:37, 2.1 KB) [[attachment:autoadmin.py-1.8+1.9.patch]]
  • [get | view] (2010-09-01 13:31:29, 0.6 KB) [[attachment:autoadmin.py.1.9.3.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.