This commit is contained in:
Cayo Puigdefabregas 2024-01-29 18:53:06 +01:00
parent 72c8fac29e
commit af338cfa4c
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class User(UserMixin, Thing):
return []
self.get_abac_did()
role = session.get('iota_abac_attributes', {}).get('role', [])
role = session.get('iota_abac_attributes', {}).get('role', '')
return [(x.strip(), x.strip()) for x in role.split(",")]
def _call_abac(self, path):