Modify

Opened 5 years ago

Closed 4 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 5 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 follow-up: Changed 5 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 5 years ago by anonymous

  • Owner changed from roadrunner to anonymous
  • Status changed from new to assigned

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 5 years ago by roadrunner

  • Owner changed from anonymous to roadrunner
  • Status changed from assigned to new

comment:5 Changed 4 years ago by roadrunner

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

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.

Add Comment

Modify Ticket

Action
as 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.