Project

General

Profile

action #889

openqa: make is_authorized_rw() configurable

Added by lnussel over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Development
Target version:
Start date:
2013-10-15
Due date:
2013-10-23
% Done:

100%

Estimated time:
Duration: 7

Description

the list of allowed ip addresses is hardcoded in is_authorized_rw() in www/cgi-bin/modules/openqa.pm
It should be made configurable instead.
Proposal:
configure via env variable in /etc/apache2/vhosts.d/openqa.conf, e.g.
OPENQA_ALLOWED_HOSTS="10.10.* 192.168.1.1 ::1"

History

#1 Updated by lnussel over 6 years ago

  • Assignee set to mlin7442

#2 Updated by mlin7442 over 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

the pull request already merged, but I'll improve to use one variable in openqa.conf instead, so just set this as 90%

#3 Updated by mlin7442 over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Also available in: Atom PDF