Skip to content
Snippets Groups Projects
Commit eb250d95 authored by Alfred Ashur Oshana's avatar Alfred Ashur Oshana
Browse files

remove debug

parent 1397dd60
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,10 @@ ADMIN_GROUPS = ["pi-lab"]
def is_admin(x_forwarded_groups: str):
admin = False
logger.debug(x_forwarded_groups)
if x_forwarded_groups and x_forwarded_groups is not None:
for group in ADMIN_GROUPS:
if group in x_forwarded_groups:
admin = True
logger.debug("setting true")
logger.debug("returning {admin}")
return admin
......
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='pilab',
version='5.2.3',
version='5.2.4',
description='Shared-Libs for the pi-lab microservices',
url='https://code.fbi.h-da.de/api/v4/projects/27896/packages/pypi/pilab',
author='Max Reinheimer',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment