Modify

Opened 10 years ago

Closed 9 years ago

#11875 closed defect (worksforme)

Field "Add hours to ticket" bound to permission TIME_VIEW

Reported by: anonymous Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

The field "Add hours to ticket" below the comment text field seems to be bound to permission TIME_VIEW, not TIME_RECORD.

Trac 0.12.3 timingandestimationplugin 1.3.7b

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by Russ Tyndall

This is configurable form the trac.ini file and defaults to:

[fields]
# a list of all the fields to apply permissions to
fields = billable, totalhours, hours, estimatedhours, internal
#...
hours.permission = TIME_RECORD:remove

Is this configuration not working or do you have it configured differently / or not configured?

comment:2 Changed 10 years ago by anonymous

I did a default installation and did not adjust any settings manually. The mentioned section [fields] is missing in my trac.ini. I have this section in my trac.ini:

[field settings]
billable.permission = TIME_VIEW:hide, TIME_RECORD:disable
estimatedhours.permission = TIME_RECORD:disable
fields = billable, totalhours, hours, estimatedhours, internal
hours.permission = TIME_VIEW:remove, TIME_RECORD:disable
internal.permission = TIME_RECORD:hide

comment:3 Changed 10 years ago by Russ Tyndall

Ok, I guess the docs and the implementation have diverged somewhat (I will attempt an update).

That said, currently it claims that it will remove the hours field without time_view and disable it without time_record.

What is the behaviour you are seeing? I am not sure how to interpret:

The field "Add hours to ticket" below the comment text field seems to be bound to permission TIME_VIEW, not TIME_RECORD

comment:4 in reply to:  3 Changed 10 years ago by Russ Tyndall

Replying to bobbysmith007:

Ok, I guess the docs and the implementation have diverged somewhat (I will attempt an update).

*Sigh* or I cant copy and paste correctly, sorry for the confusion. [field settings] is the correct section and is correctly documented in the manual.

comment:5 Changed 9 years ago by Russ Tyndall

Resolution: worksforme
Status: newclosed

With no further feedback, gonna call this good?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
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.