Modify

Opened 11 years ago

Closed 3 years ago

#11094 closed enhancement (cantfix)

allow multiple environment variables

Reported by: Andrew Schulman Owned by: Eduard
Priority: high Component: ApacheUserInfoPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

It would be nice if the plugin allowed the user to specify multiple environment variables for each key, and took the value from the first one that's populated. For example:

email_var = AUTHENTICATE_FORWARDEMAILADDRESS AUTHENTICATE_MAIL

Then the value of AUTHENTICATE_FORWARDEMAILADDRESS would be used if the value was non-empty, otherwise the value of AUTHENTICATE_MAIL would be used.

While this example may seem artificial, believe it or not it's exactly the case in our environment. When one variable is set, its value should be used in preference to the other.

For that reason I wrote a patch that does this. The patch is attached.

Attachments (1)

multiple-env-vars.patch (1.1 KB) - added by Andrew Schulman 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Andrew Schulman

Attachment: multiple-env-vars.patch added

comment:1 Changed 11 years ago by Eduard

Priority: normalhigh
Status: newassigned

comment:2 Changed 3 years ago by Ryan J Ollos

Resolution: cantfix
Status: assignedclosed

Plugin is no longer available on BitBucket.

Modify Ticket

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