Modify

Opened 7 years ago

Closed 5 years ago

#3154 closed defect (fixed)

field.label is ignored if user has no permission to edit

Reported by: anonymous Owned by: obs
Priority: low Component: BlackMagicTicketTweaksPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I added the following code to my trac.ini:

tweaks = owner
gray_disabled = #CCCCCC

owner.label = Besitzer:
owner.permission = TRAC_ADMIN

If I am Member of the TRAC_ADMIN group I see the german Translation "Besitzer:" If I am logged in a normal user the field is readonly and the label greyed out - as it should be - but the labels shows as "Owner:" not as "Besitzer:"

I just installed the Plugin from svn (Windows, Standalone trac)

Attachments (0)

Change History (3)

comment:1 in reply to: ↑ description Changed 7 years ago by anonymous

Replying to anonymous:

I added the following code to my trac.ini:

tweaks = owner
gray_disabled = #CCCCCC

owner.label = Besitzer:
owner.permission = TRAC_ADMIN

If I am Member of the TRAC_ADMIN group I see the german Translation "Besitzer:" If I am logged in a normal user the field is readonly and the label greyed out - as it should be - but the labels shows as "Owner:" not as "Besitzer:"

I just installed the Plugin from svn (Windows, Standalone trac)

I forgot something: The default label is "Assign to:", if I add owner to tweaks and don´t add a label text, it Is shown as "Owner:" (I think it defaults to something like the field name), which would be ok, If I could overwrite it for non privileged users.

comment:2 Changed 5 years ago by obs

  • Owner changed from ixokai to obs

comment:3 Changed 5 years ago by obs

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

Fixed in [7209]

Add Comment

Modify Ticket

Action
as closed The owner will remain obs.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.