Modify

Opened 9 months ago

Closed 6 months ago

#11356 closed defect (fixed)

IniEditorBasicSecurityManager cannot apply restrictions where a section name is not lower case

Reported by: J.Lander@… Owned by: stoecker
Priority: normal Component: TracIniAdminPanelPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

We noticed this when attempting to use TracIniAdminPanel to manage access to the components of Trac JsGantt.

Trac JsGantt uses a section called [TracPM].

When

  TracPM|* = modifiable

is added to the [ini-editor-restrictions], it is converted to lower case

  tracpm|*

when the config file is parsed.

A possible workaround would involve converting section_name and option_name to lower case at the start of get_option_access(self, section_name, option_name).

Attachments (0)

Change History (1)

comment:1 Changed 6 months ago by stoecker

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

In 13571:

fix #11356

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from stoecker. Next status will be 'closed'.
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.