Modify

Opened 3 years ago

Closed 3 years ago

#11356 closed defect (fixed)

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

Reported by: J.Lander@… Owned by: Dirk Stöcker
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 3 years ago by Dirk Stöcker

Resolution: fixed
Status: newclosed

In 13571:

fix #11356

Modify Ticket

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