Opened 4 years ago

Closed 20 months ago

Exclude whole sections

Reported by: Owned by: Olaf Meeuwissen rjollos normal IniAdminPlugin normal jun66j5 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 4 years ago by rjollos

See #7223 for related ticket.

comment:2 Changed 4 years ago by rjollos

• Owner changed from athomas to rjollos

comment:4 Changed 20 months ago by jun66j5

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 20 months ago by rjollos

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 20 months ago by jun66j5

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 20 months ago by rjollos

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 20 months ago by jun66j5

• Resolution set to fixed
• Status changed from new to closed

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

Modify Ticket

Change Properties