Make role_associations private again

This commit is contained in:
krassowski
2024-04-07 10:00:42 +01:00
parent 4ec2fe3c19
commit 5aa8d29913
4 changed files with 5 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ class Server(Base):
# lots of things have roles
# mapping tables are the same for all of them
role_associations = {}
_role_associations = {}
for entity in (
'user',
@@ -186,7 +186,7 @@ for entity in (
Column('managed_by_auth', Boolean, default=False),
)
role_associations[entity] = type(
_role_associations[entity] = type(
entity.title() + 'RoleMap', (Base,), {'__table__': table}
)