Modify

Opened 5 years ago

Closed 11 months ago

#5531 closed defect (worksforme)

AuthzGroupsPlugin - problem in Trac 0.11.4

Reported by: loko Owned by: mgood
Priority: highest Component: AuthzGroupsPlugin
Severity: blocker Keywords: AuthzGroupsPlugin
Cc: Trac Release: 0.11

Description (last modified by rjollos)

Hi,

I have a problem with upgrade Trac from version 0.10.2 to 0.11.4 (in Windows with SVN)
After upgrade,

 >easy_install.exe --upgrade Trac==0.11.4
 >trac-admin.exe X:\path\toproject upgrade
 >trac-admin.exe X:\path\toproject wiki upgrade

and restart apache, the pages display without (Timeline, Browse Sources, ...) only Wiki button is displayed.

Debug log:

2009-07-20 13:50:06,890 Trac[main] DEBUG: Dispatching <Request "GET u'/roadmap'">
2009-07-20 13:50:07,029 Trac[svn_fs] DEBUG: Subversion bindings imported
2009-07-20 13:50:07,062 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2009-07-20 13:50:07,062 Trac[perm] DEBUG: No policy allowed loko performing MILESTONE_VIEW on None
2009-07-20 13:50:07,062 Trac[main] WARNING: HTTPForbidden: 403 Forbidden (MILESTONE_VIEW privileges are required to perform this operation)
2009-07-20 13:50:07,265 Trac[chrome] DEBUG: Prepare chrome data for request
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing TICKET_CREATE on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing TICKET_VIEW on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing BROWSER_VIEW on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing TRAC_ADMIN on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing PERMISSION_GRANT on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing PERMISSION_REVOKE on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing TICKET_ADMIN on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing TIMELINE_VIEW on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing ROADMAP_VIEW on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing SEARCH_VIEW on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing REPORT_VIEW on None
2009-07-20 13:50:07,265 Trac[perm] DEBUG: No policy allowed loko performing EMAIL_VIEW on None
2009-07-20 13:50:07,265 Trac[session] DEBUG: Retrieving session for ID 'loko'
2009-07-20 13:50:07,404 Trac[main] DEBUG: 1706 unreachable objects found.

When I set the permission manualy to USER it works:

 trac-admin /path/to/projenv permission add loko TRAC_ADMIN

But it doesn't work with old groups:

Error: Forbidden
MILESTONE_VIEW privileges are required to perform this operation

I tried to install new account manager for 0.11.4 (they say that 0.11 does not work with 0.11.4)

> easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk

Then I find your patch for AuthzGroups: AuthzGroupsPlugin
But i don't know, how to install this plugin...

Can you help me to fix this problem?
Thank you

Loko

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by loko

I find that after upgrade it changed my htdoc root from example

 python..\share\trac\htdocs\..

to

 python ..\lib\site-package\trac-0.11.4-py2.4.egg\trac\htdocs\..

And problem with hiding icon is that authzgroups did not startup...

When I paste into project\conf\trac.ini

 [componets]
 authzgroups.authzgroups.svnauthzgroupprovider = enable

than it works.

So where to place global trac.ini with authzgroups option for all projects?

Thanks

comment:2 Changed 11 months ago by rjollos

  • Description modified (diff)

comment:3 Changed 11 months ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to closed

I'd be happy to help, but don't imagine you still need a response after all these years. Please reopen if you still need help.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from mgood. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.