settings: fix check for internal role in permission matrix (#38836)
This commit is contained in:
parent
13b2f9ce54
commit
863ce36874
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue