Opened 14 years ago
Closed 12 years ago
#7371 closed enhancement (fixed)
Exclude whole sections
Reported by: | 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_ADMIN
s 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
comment:2 Changed 14 years ago by
Owner: | changed from Alec Thomas to Ryan J Ollos |
---|
comment:3 Changed 12 years ago by
Cc: | Jun Omae added; anonymous removed |
---|
comment:4 Changed 12 years ago by
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 follow-up: 6 Changed 12 years ago by
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 follow-up: 7 Changed 12 years ago by
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 Changed 12 years ago by
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
Resolution: | → fixed |
---|---|
Status: | new → closed |
See #7223 for related ticket.