Modify

Opened 16 years ago

Closed 14 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 16 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 14 years ago by obs

Owner: changed from Stephen Hansen to obs

comment:3 Changed 14 years ago by obs

Resolution: fixed
Status: newclosed

Fixed in [7209]

Modify Ticket

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