Modify

Opened 4 years ago

Closed 2 years ago

#7371 closed enhancement (fixed)

Exclude whole sections

Reported by: Olaf Meeuwissen <olaf.meeuwissen@…> Owned by: rjollos
Priority: normal Component: IniAdminPlugin
Severity: normal Keywords:
Cc: jun66j5 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 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:3 Changed 2 years ago by jun66j5

  • Cc jun66j5 added

comment:4 Changed 2 years ago by jun66j5

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: Changed 2 years 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: Changed 2 years ago by jun66j5

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 2 years ago by rjollos

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 2 years 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)

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.