#6538 closed defect (invalid)
Billable and Internal check boxes & permissions appear not to work
Reported by: | anonymous | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | waiting-for-feedback |
Cc: | picht@… | Trac Release: | 0.11 |
Description
I have Trac 0.11.1 installed with Genshi 0.5.1 added the TimingAndEstimation plugin 0.9.0b on Debian.
When I set permissions to (reported in Trac on http://server/<project>/about) billable.permission TIME_VIEW:disable, TIME_RECORD:disable, estimatedhours.permission TIME_RECORD:disable fields totalhours, hours, estimatedhours hours.permission TIME_VIEW:remove, TIME_RECORD:disable internal.permission TIME_RECORD:hide
The billable field still appears as well as the internal field. How to get these away?
Attachments (0)
Change History (7)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It isn't working for me either. What am I doing wrong?
[trac] permission_policies = InternalTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy [timingandestimation] #change what permission is required to view the billing/management screen # default is REPORT_VIEW billing_permission = TRAC_ADMIN [field settings] # a list of all the fields to apply permissions to fields = billable, totalhours, hours, estimatedhours, internal # a bunch of: # field.permission = PERMISSION:consequence # # If PERMISSION=ALWAYS, then the consequence always occurs # eg: billable.permission = ALWAYS:hide # will always result in billable being hidden, irrespective of user permissions # # where consequence is one of: hide, remove, disable # hide - replaces with hidden input # remove - removes element # disable - removes input in favor of text billable.permission = ALWAYS:hide internal.permission = ALWAYS:hide
comment:4 Changed 12 years ago by
Cc: | picht@… added; anonymous removed |
---|
Can you please describe how it "isnt working"? I will need a little more info than that to debug the issue.
Are the fields showing even though you have configured them to always be hidden? Could you perhaps enable TracLogging and post a log of a single page render where things are failing to be hidden?
Thanks Russ
comment:5 Changed 12 years ago by
Keywords: | waiting-for-feedback added |
---|
comment:6 Changed 12 years ago by
Exactly what you suspected. The fields are simply sitting there unimpressed by the configuration options. I can try to record a log when I'm back at work tomorrow morning.
comment:7 Changed 12 years ago by
- Can you verify that you have the plugin enabled?
- Also are you using the correct plugin for the correct version of trac?
- What version of trac and the plugin are you using?
Thanks for the further answers
comment:8 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Its been > three months with no response and it works for me, so closing as invalid
http://trac-hacks.org/wiki/TimeEstimationUserManual#Configuration
In order for permissions to be applied to the billable and internal fields, you must include them in the "fields" configuration (see the example below). Also if you want them to always be (hidden / disabled etc) you can use the ALWAYS permission signifier (previously undocumented , but now documented at the above link)
HTH, feel free to reopen if you have further questions,
Russ Tyndall