Skip to content
Snippets Groups Projects
Commit 34c38f83 authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

TMSS-1218: fix unrelated bug

parent c95dc4f2
No related branches found
No related tags found
1 merge request!648TMSS-1218: Add parsets to SIPs and refer to the primary observation subtask as...
......@@ -28,7 +28,7 @@ class TMSSOIDCAuthenticationBackend(OIDCAuthenticationBackend):
elif ':' not in project_entitlement:
# TMSS only has project roles, we interpret 'general' membership in a project as a co_i role,
# but may make that explicit in Keycloak later on
project_roles.append({'project': entitlement, 'role': 'co_i'})
project_roles.append({'project': project_entitlement, 'role': 'co_i'})
except Exception as e:
logger.error('could not handle entitlement=%s because of exception=%s' % (entitlement, e))
user.project_roles = project_roles
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment