I am developing a Flask application using SQLAlchemy. For authorization I am using user roles which are a simple SQLAlchemy model with a m2m relation to users. I want that s