Wichtig
Nach einem Update sind folgende Seiten aufzurufen und die Funktionalität der acl zu überprüfen!
ACLs werden in der Reihenfolge "before", dann "Seiten-ACLs/default" und dann "after" verarbeitet, von "links nach rechts".
http://moinmoin.wikiwikiweb.de/HilfeZuAccessControlLists?highlight=%28acl_rights_after%29
http://wiki.mobbing-gegner.de/Wiki/Suche?action=fullsearch&titlesearch=1&value=kontakt
Diese Suche darf nie die Seite Kontakte sichtbar werden lassen! Nur die #acl WikiGroup:read,write darf diese lesen
Adressen darf nur von DetlevLengsfeld bearbeitet werden. #acl DetlevLengsfeld:write +All:read
Theorie
http://moinmoin.wikiwikiweb.de/HilfeZuAccessControlLists?highlight=%28admin%29%7C%28rechte%29
Trusted currently means being authenticated by http auth .... special_users = All", "Known", "Trusted # order is important
Trusted is a special group containing all authenticated users who used HTTP-Basic-authentication.
HelpOnAccessControlLists Now, you have some page where you want to give the "write" permission for SomeUser, but also want to keep the default behavior for All and TrustedGroup. You can easily do that using the Default entry:
on a new page, users in TrustedGroup can put any ACLs they want admin
on existing pages, not having ACLs yet, any user in TrustedGroup user can set up any ACLs he wants admin
Praxis
acl_rights_before = u"DetlevLengsfeld:admin,read,write,revert,delete TrustedUser,TrustedGroup:read,write,revert,delete"
#acl AdminGroup:admin,read,write All:read
- bed
#acl DetlevLengsfeld:read,write All:read niemand sollte diese Seiten beschreiben können!
#acl DetlevLengsfeld:read,write All:read niemand sollte diese Seiten beschreiben können!
#acl AutoAdminGroup:read,write,revert All:read #format wiki #language en
Mobbing/AdminGroup
Admins für Mobbing/*
- shensel
- macdet
Alle User des Wikis auf einen Blick:)
--> -->IndexError
string index out of range
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/local/share/moin/mywiki/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler = <function do_show>
- self = <MoinMoin.request.RequestFastCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'Wiki/Zugriffsrechte'
/usr/local/share/moin/mywiki/MoinMoin/wikiaction.py in do_show (pagename=u'Wiki/Zugriffsrechte', request=<MoinMoin.request.RequestFastCGI object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestFastCGI object>
- pagename = u'Wiki/Zugriffsrechte'
- ).send_page undefined
- count_hit undefined
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, msg='', **keywords={'count_hit': 1})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 0
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u"\n'''Wichtig ''' \n\nNach einem Update sind folgend...e User des Wikis auf einen Blick:)\n[[UserList2]]\n", format_args='', do_cache=1, **kw={'start_line': 0})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 1349 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestFastCGI object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object ? at 0x830eae0, file "Wiki/Zugriffsrechte", line 2>
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0x830eae0, file "Wiki/Zugriffsrechte", line 2>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object ? at 0x830eae0, file "Wiki/Zugriffsrechte", line 2>
/usr/local/share/moin/mywiki/Wiki/Zugriffsrechte in ?
/usr/local/share/moin/mywiki/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'UserList2', args=None)
- 288 def macro(self, macro_obj, name, args):
- 289 # call the macro
- 290 return macro_obj.execute(name, args)
- 291
- 292 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.wikimacro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
- name = u'UserList2'
- args = None
/usr/local/share/moin/mywiki/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'UserList2', args=None)
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.wikimacro.Macro instance>
- args = None
/usr/local/share/moin/mywiki/data/plugin/macro/UserList2.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None)
- 66 initials={}
- 67 for u in userlist:
- 68 initial=u[0]
- 69 if not initial in initials.keys():
- 70 initials[initial]=[]
- initial = u'M'
- u = u''
IndexError
string index out of range
- args = ('string index out of range',)
System Details
- Date: Thu, 24 May 2012 14:22:04 +0000
- Platform: Linux mobbing-gegner.de 2.6.30 #1 SMP PREEMPT Sun Jun 14 13:11:27 CEST 2009 i686
- Python: Python 2.4.6 (/usr/bin/python2.4)
- MoinMoin: Release 1.5.8 (release)