Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shared-libs
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pi-Lab
shared-libs
Commits
eb250d95
Commit
eb250d95
authored
5 months ago
by
Alfred Ashur Oshana
Browse files
Options
Downloads
Patches
Plain Diff
remove debug
parent
1397dd60
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pilab/auth.py
+0
-3
0 additions, 3 deletions
pilab/auth.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
1 addition
and
4 deletions
pilab/auth.py
+
0
−
3
View file @
eb250d95
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
eb250d95
...
...
@@ -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
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment