Modify

Opened 14 years ago

Closed 12 years ago

#7371 closed enhancement (fixed)

Exclude whole sections

Reported by: Olaf Meeuwissen <olaf.meeuwissen@…> Owned by: Ryan J Ollos
Priority: normal Component: IniAdminPlugin
Severity: normal Keywords:
Cc: Jun Omae Trac Release: 0.11

Description

Using IniAdminPlugin in a multi-project setup with AccountManagerPlugin to manage a single set of user accounts. I'd like the TRAC_ADMINs for each project to be able to modify the bulk of the trac.ini settings for their environments through a web interface, but at the same time exclude the sensitive items or those that would affect other environments. While exclude allows me to do so, specifying twelve(!) settings just for AccountManager quickly becomes a bore. Also, with every upgrade I have to check for new settings that need excluding. It'd be nice to be able to say exclude = account-manager:* or similar to have all settings of a component excluded.

On a related note, if all settings are excluded anyway there is not much sense in displaying the section in the list either. I had at least one TRAC_ADMIN that got confused.

Attachments (0)

Change History (8)

comment:1 Changed 14 years ago by Ryan J Ollos

See #7223 for related ticket.

comment:2 Changed 14 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

comment:3 Changed 12 years ago by Jun Omae

Cc: Jun Omae added; anonymous removed

comment:4 Changed 12 years ago by Jun Omae

I just worked in https://github.com/jun66j5/iniadminplugin/tree/ticket7371/wildcard.

Supports wildcard characters in [iniadmin] section.

[iniadmin]
; Hide account-manager and iniadmin sections
excludes = account-manager:*,iniadmin:*
; Show fields that have `password` in the name as password
passwords = trac:database,*:*password*

Thoughts?

comment:5 Changed 12 years ago by Ryan J Ollos

Hi Jun, Would you like commit access for this plugin? It is one of the plugins needed for a trac-hacks site upgrade (#10193), but I've hardly had time to work on it.

comment:6 in reply to:  5 ; Changed 12 years ago by Jun Omae

Replying to rjollos:

Hi Jun, Would you like commit access for this plugin?

Yes! Could you do it if possible?

It is one of the plugins needed for a trac-hacks site upgrade (#10193), but I've hardly had time to work on it.

In 1.0, the documents for options can be translated. It introduced in trac:r10598. Therefore, I think the plugin should show translated documents if on Trac 1.0.

I would like to work it.

comment:7 in reply to:  6 Changed 12 years ago by Ryan J Ollos

Replying to jun66j5:

In 1.0, the documents for options can be translated. It introduced in trac:r10598. Therefore, I think the plugin should show translated documents if on Trac 1.0.

I would like to work it.

Sounds interesting. Feel free to push ahead with whatever changes you see fit. You should have commit access now. Thanks!

comment:8 Changed 12 years ago by Jun Omae

Resolution: fixed
Status: newclosed

(In [11861]) iniadmin: supported wildcards in the options of iniadmin section (fixed #7371)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.