settings: fix check for internal role in permission matrix (#38836)

This commit is contained in:
Frédéric Péters 2020-01-18 09:38:07 +01:00
parent 13b2f9ce54
commit 863ce36874
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ class SettingsDirectory(QommonSettingsDirectory):
rows = []
value = []
roles = [x for x in Role.select(order_by='name') if not role.is_internal()]
roles = [x for x in Role.select(order_by='name') if not x.is_internal()]
for role in roles:
rows.append(role.name)
value.append([role.allows_backoffice_access])