Answer the question
In order to leave comments, you need to log in
How to make permission splitting in Flask-superadmin?
I use flask in the project, ext flask-superadmin is used for administration.
The structure of objects in the project is something like this:
users
--nickname
--date
of registration
blogs
--title, text
--foreign key for the user who added
--date of the post
see only your entries.
There is an assumption that this is done through overriding the ModelAdmin methods, but I don’t know how to do this.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question