I'm using Flask Admin and Flask security to log in to it. I can get no problem to define depending on the role of a user whether or not he can create an object, but I would also like to be able to add or remove fields from the creation / editing form depending on that role, is it possible?
I tried to change the field form_columns
to a property
but whenever I access the current_user
in this or another field of form
it is still None
and therefore I can not perform any control. >