In case you are talking about the .conf file, mine looks like this:
# vim: syntax=dosini [groups] administrators = FD [wiki:[EMAIL PROTECTED] FD = WIKI_VIEW anonymous = WIKI_VIEW * = WIKI_VIEW [wiki:[EMAIL PROTECTED] FD = WIKI_VIEW * = WIKI_VIEW # Match everything else [*] @administrators = TRAC_ADMIN, WIKI_ADMIN, PERMISSION_ADMIN anonymous = BROWSER_VIEW, CHANGESET_VIEW, FILE_VIEW, LOG_VIEW, MILESTONE_VIEW, POLL_VIEW, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_VIEW, SEARCH_VIEW, TICKET_VIEW, TIMELINE_VIEW authenticated = REPO_SEARCH, XML_RPC,WIKI_CREATE, WIKI_MODIFY, TICKET_CREATE, TICKET_MODIFY Is it wrong somehow? On Aug 28, 5:12 pm, slade867 <[EMAIL PROTECTED]> wrote: > I've just been using the one from the trunk/sample-plugins. I thought > the authzpolicy.conf file was the file that actually determined the > positions. > > On Aug 28, 5:07 pm, "Noah Kantrowitz" <[EMAIL PROTECTED]> wrote: > > > > > You made it. This is what defines the policy you want the plugin to enforce. > > > --Noah > > > > -----Original Message----- > > > From: [email protected] [mailto:[EMAIL PROTECTED] > > > On Behalf Of slade867 > > > Sent: Thursday, August 28, 2008 2:06 PM > > > To: Trac Users > > > Subject: [Trac] Re: Configobj/authzpolicy problems > > > > Where can I get one so that I'm SURE the .py is valid? > > > > On Aug 28, 4:59 pm, "Noah Kantrowitz" <[EMAIL PROTECTED]> wrote: > > > > Whatever you gave it as an authz policy isn't a valid ini file. > > > > > --Noah > > > > > > -----Original Message----- > > > > > From: [email protected] [mailto:trac- > > > [EMAIL PROTECTED] > > > > > On Behalf Of slade867 > > > > > Sent: Thursday, August 28, 2008 1:58 PM > > > > > To: Trac Users > > > > > Subject: [Trac] Configobj/authzpolicy problems > > > > > > I installed Configobj into site packages. I placed authz_policy.py > > > > > into my Project\plugins folder. > > > > > > I try to run using the command C:\Python24\Scripts\tracd-script.py > > > -p > > > > > 8000 -- auth=Project,C:\TracProjects\passwords.txt,trac > > > c:\TracProjects > > > > > \trac\Project > > > > > > When I tryo to go to the page I get some of the following errors: > > > > > > Traceback (most recent call last): > > > > > File "c:\python24\lib\site-packages\Trac-0.11stable_r7496- > > > py2.4.egg > > > > > \trac\web\api.py", line 342, in send_error > > > > > 'text/html') > > > > > File "c:\python24\lib\site-packages\Trac-0.11stable_r7496- > > > py2.4.egg > > > > > \trac\web\chrome.py", line 684, in render_template > > > > > data = self.populate_data(req, data) > > > > > File "c:\python24\lib\site-packages\Trac-0.11stable_r7496- > > > py2.4.egg > > > > > \trac\web\chrome.py", line 592, in populate_data > > > > > d['chrome'].update(req.chrome) > > > > > File "c:\python24\lib\site-packages\Trac-0.11stable_r7496- > > > py2.4.egg > > > > > \trac\web\api.py", line 169, in __getattr__ > > > > > value = self.callbacks[name](self) > > > > > File "c:\python24\lib\site-packages\Trac-0.11stable_r7496- > > > py2.4.egg > > > > > \trac\util\compat.py", line 133, in newfunc > > > > > return func_(*(args + fargs), **dict(kwargs, **fkwargs)) > > > > > File "c:\python24\lib\site-packages\Trac-0.11stable_r7496- > > > py2.4.egg > > > > > \trac\web\chrome.py", line 460, in prepare_request > > > > > for category, name, text in > > > contributor.get_navigation_items(req): > > > > > File "c:\python24\lib\site-packages\Trac-0.11stable_r7496- > > > py2.4.egg > > > > > \trac\ticket\web_ui.py", line 155, in get_navigation_items > > > > > if 'TICKET_CREATE' in req.perm: > > > > > ... > > > > > ConfigObjError: Parsing failed with several errors. > > > > > First error at line 1. > > > > > > Any ideas how to get past this?- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
