Ticket #6985 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Field permissions do not work for drop-downs

Reported by: josh@oxideinteractive.com.au Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The ticket permisssions that can be set in the [field settings] section of a trac.ini file do not work with Drop-Down (<select>) fields. This is because your stream modifiers only target <input> fields.

Attachments

Change History

04/19/10 16:16:19 changed by bobbysmith007

Thanks for the report, expect a bug fix this week

04/19/10 18:09:27 changed by bobbysmith007

(In [7869]) Made permissions handle elements that are not INPUT (eg: select) re #6985

04/19/10 18:10:49 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

I think the above change should fix it for you, please upgrade to the latest version (0.9.2)

Feel free to reopen, if this didnt adequately address your needs.

HTH, Russ

04/27/10 09:13:45 changed by josh@oxideinteractive.com.au

  • status changed from closed to reopened.
  • resolution deleted.

Heya

That did what we needed it to do, but a similar one just cropped up - disabling a <select> field appears to hide it, instead of displaying the contents. (Again, this would appear to be because the code specifically targets <input> fields, but I don't know enough about Python or the Blackmagic plugin to troubleshoot it.)

- Josh

05/03/10 15:59:02 changed by bobbysmith007

I think I see what you mean. I will try to get to this pretty soon

05/03/10 23:49:17 changed by bobbysmith007

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [7919]) Second stab at fixing blackmagic permissions on the select type fields. ver: 0.9.3b fix #6985

05/03/10 23:51:43 changed by bobbysmith007

Thanks so much for the continued feedback. So often I never hear back about changes I make. I made a second stab at solving this issue. I addressed it more directly this time and just special cased the select since it operates fundamentally differently than inputs (options and what not).

I tested both disabled and hide and both seemed to do basically what I expected, hopefully they will for you as well.

Please let me know (reopen) if you have further issues,

Russ


Add/Change #6985 (Field permissions do not work for drop-downs)




Change Properties
Action