Opened 5 years ago

Closed 5 years ago

#6272 closed defect (worksforme)

permission swap

Reported by: kadel Owned by: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


in [field settings] in trac.ini TIME_RECORD act as TIME_VIEW and other way.

example: when i want hide internal field for TIME_VIEW, i must write this rule:

using SVN Trac0.11 branch With Permissions

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by bobbysmith007

Sorry for the delay in response. I will look at this shortly.

comment:2 Changed 5 years ago by bobbysmith007

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

Using the default config, everything seems to be working for me.


billable.permission = TIME_VIEW:hide


billable.permission = TIME_VIEW:disable

and back does pretty much exactly what I would expect when I have no time permissions. This indicates to me that perhaps it is a configuration error, or perhaps you misunderstand what the program does. It sounds like a misunderstanding though after rereading your comment.


billable.permission = TIME_VIEW:hide

causes the billable box to be hidden whenever anyone does not have time_view permission. The format is PERMISSION_NAME:Action-to-take-if-perm-check-fails


Default Config:

[field settings] # per field permissions

# a list of all the fields to apply permissions to
fields = billable, totalhours, hours, estimatedhours, internal

# a bunch of:
# field.permission = PERMISSION:consequence
# 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 = TIME_VIEW:hide, TIME_RECORD:disable
totalhours.permission = TIME_VIEW:remove, TIME_RECORD:disable
hours.permission = TIME_RECORD:remove
estimatedhours.permission = TIME_RECORD:disable
internal.permission = TIME_RECORD:hide

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bobbysmith007. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.