Skip to content
Snippets Groups Projects
Verified Commit 45a09828 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

fix: roles in consent shoudl be role names, not Role objects

parent 75b18bad
No related branches found
No related tags found
1 merge request!55Resolve "Merge dashboard and dashboard-backend repos"
......@@ -238,7 +238,7 @@ def consent():
.filter(AppRole.user_id == user.uuid)
)
for role_obj in role_objects:
roles.append(role_obj.role)
roles.append(role_obj.role.name)
current_app.logger.info(f"Using '{roles}' when applying consent for {kratos_id}")
......
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