Modify

Opened 15 years ago

Closed 14 years ago

#6261 closed defect (worksforme)

No BUILD_VIEW Action by Default in Trac

Reported by: nado18@… Owned by: roadrunner
Priority: normal Component: HudsonTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Not all Trac installations have a BUILD_VIEW action. We're running 11.4 at work and can't get it to integrate with Hudson because of this.

Attachments (0)

Change History (5)

comment:1 Changed 15 years ago by anonymous

BUILD_VIEW is provided by this plugin; did you assign your users (or everybody) the BUILD_VIEW permission, like it says in the instructions on the HudsonTracPlugin page?

I.e. yes, by default nobody can view the builds, and you have to give users explicit permission to do so (this is like the other permissions, though trac does assign anonymous a set of permissions on setup).

comment:2 Changed 15 years ago by anonymous

After installing the plugin I could not see the BUILD_VIEW permission, neither in the Admin/Plugins page nor through "trac-admin ... permission list". I turned on verbose logging, tried restarting my web server, it just won't show up and there's nothing fishy in the logs.

Oh, this was 3.0 on 0.11.4, should it be supported? I also tried 2.0. I'll try installing again on a different Trac instance see if it's only a fluke on one of them.

comment:3 in reply to:  2 Changed 15 years ago by anonymous

Owner: changed from roadrunner to anonymous
Status: newassigned

Replying to anonymous:

After installing the plugin I could not see the BUILD_VIEW permission, neither in the Admin/Plugins page nor through "trac-admin ... permission list". I turned on verbose logging, tried restarting my web server, it just won't show up and there's nothing fishy in the logs.

Something's weird: the permission definitely shows up for me, both in trac-admin as well as in the Admin/Permissions page.

Oh, this was 3.0 on 0.11.4, should it be supported? I also tried 2.0. I'll try installing again on a different Trac instance see if it's only a fluke on one of them.

Assuming you meant 0.3 and 0.2, the permission is new as of 0.3. And the Admin/Plugins page indicated the version of the HudsonTrac plugin was 0.3? And the plugin is enabled?

The only thing I can think of then is that some other plugin is causing issues, though even that seems unlikely. At this point I'll need your help to do some debugging: line 88 of HudsonTracPlugin.py is where the new permission is registered - can you try adding a log statement there to see if get_permission_actions is actually being called?

Lastly, just in case, what version of python are you running?

comment:4 Changed 15 years ago by roadrunner

Owner: changed from anonymous to roadrunner
Status: assignednew

comment:5 Changed 14 years ago by roadrunner

Resolution: worksforme
Status: newclosed

There has been no further feedback on this for nearly a year, and I can't reproduce this. Hence closing this ticket. Feel free to re-open if you have more info.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain roadrunner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.