for removed in old_admin_acl - admin_acl:
old = Admin.query.filter_by(user=removed).first()
session.delete(old)
for added in admin_acl - old_admin_acl:
a = Admin(user=added)
for removed in old_admin_acl - admin_acl:
old = Admin.query.filter_by(user=removed).first()
session.delete(old)
for added in admin_acl - old_admin_acl:
a = Admin(user=added)