Opened 15 years ago
Closed 14 years ago
#6261 closed defect (worksforme)
No BUILD_VIEW Action by Default in Trac
Reported by: | 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
comment:2 follow-up: 3 Changed 15 years ago by
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 Changed 15 years ago by
Owner: | changed from roadrunner to anonymous |
---|---|
Status: | new → 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 15 years ago by
Owner: | changed from anonymous to roadrunner |
---|---|
Status: | assigned → new |
comment:5 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → 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.
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).