Modify

Opened 14 years ago

Last modified 4 years ago

#6658 new enhancement

Different config key in current releases

Reported by: Stefan Wallentowitz Owned by:
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 14 years ago.
Patch to enable different config keys

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Stefan Wallentowitz

Attachment: newconfigkey.patch added

Patch to enable different config keys

comment:1 Changed 11 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.

comment:2 Changed 4 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted
Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.