flask-admin: how to allow only super users can view the specified table column?

前端 未结 4 1469
粉色の甜心
粉色の甜心 2020-12-18 06:39

I\'ve built an app with a table called Project which is stored in sqlite, I want allow only super users can view the approve colum

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-18 07:05

    I'd like to combine the FileAdmin(example here: https://github.com/flask-admin/flask-admin/tree/master/examples/file).

    Which means only after the project is being approved(see pic), then the users can upload the file to the system automatically specified path(say: /Reviewer1/Reviewer2/file)

提交回复
热议问题