Modify

Opened 7 years ago

Last modified 4 years ago

#6658 assigned enhancement

Different config key in current releases

Reported by: Stefan Wallentowitz Owned by: Ryan J Ollos
Priority: normal Component: HtGroupEditorPlugin
Severity: normal Keywords:
Cc: Steffen Hoffmann Trac Release: 0.11

Description

Hi,

if I install Trac 0.11 and copy the authz_policy.py as suggested here, the keys generated by the plugin administration in trac.ini look like:

authz_policy.* = enabled
authz_policy.authzpolicy = enabled

and not as required by this plugin, that looks for authzpolicy.authz_policy.authzpolicy.

The applied patch works for both keys, but not if only authz_policy.* is given!

Attachments (1)

newconfigkey.patch (556 bytes) - added by Stefan Wallentowitz 7 years ago.
Patch to enable different config keys

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Stefan Wallentowitz

Attachment: newconfigkey.patch added

Patch to enable different config keys

comment:1 Changed 4 years ago by Ryan J Ollos

Cc: Steffen Hoffmann added; anonymous removed
Owner: changed from robert_martin to Ryan J Ollos
Status: newassigned

I've seen examples of how to properly check if a component is enabled in the Bloodhound project and in some of hasienda's plugins. I'll have to dig around.

Modify Ticket

Action
as assigned The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.