Modify ↓
Opened 11 years ago
Closed 11 years ago
#11356 closed defect (fixed)
IniEditorBasicSecurityManager cannot apply restrictions where a section name is not lower case
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
In 13571: