Opened 8 years ago

Closed 5 years ago

# Exclude whole sections

Reported by: Owned by: Olaf Meeuwissen Ryan J Ollos normal IniAdminPlugin normal Jun Omae 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.

### comment:1 Changed 7 years ago by Ryan J Ollos

See #7223 for related ticket.

### comment:2 Changed 7 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

### comment:3 Changed 5 years ago by Jun Omae

Cc: Jun Omae added; anonymous removed

### comment:4 Changed 5 years ago by Jun Omae

Supports wildcard characters in [iniadmin] section.

[iniadmin]
; Hide account-manager and iniadmin sections
; Show fields that have password in the name as password


Thoughts?

### comment:5 follow-up:  6 Changed 5 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 ; follow-up:  7 Changed 5 years ago by Jun Omae

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 5 years ago by Ryan J Ollos

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 5 years ago by Jun Omae

Resolution: → fixed new → closed

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

### Modify Ticket

Change Properties