add settings to impersonate a redmine user
This commit is contained in:
parent
0d0b25bd2c
commit
a9cfcbd4ac
|
@ -12,7 +12,9 @@ from scrutiny.projects.utils import get_issue_deployment_status
|
|||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, verbosity, *args, **options):
|
||||
redmine_server = Redmine(settings.REDMINE_URL, key=settings.REDMINE_API_KEY)
|
||||
redmine_server = Redmine(
|
||||
settings.REDMINE_URL, key=settings.REDMINE_API_KEY, impersonate=settings.REDMINE_IMPERSONATE
|
||||
)
|
||||
RESOLVED_ID = None
|
||||
DEPLOYED_ID = None
|
||||
|
||||
|
|
|
@ -140,6 +140,7 @@ REDMINE_REFERENCE_PLATFORM = 'SaaS2 / Test'
|
|||
|
||||
REDMINE_URL = 'https://dev.entrouvert.org'
|
||||
REDMINE_API_KEY = None
|
||||
REDMINE_IMPERSONATE = None
|
||||
|
||||
local_settings_file = os.environ.get(
|
||||
'SCRUTINY_SETTINGS_FILE', os.path.join(os.path.dirname(__file__), 'local_settings.py')
|
||||
|
|
Loading…
Reference in New Issue