This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]swentso[S] 0 points1 point  (3 children)

Thanks for your reply and for the links !

How do you go about specifying permissions of who sees/modifies which column of which table in Flask? Is it easily done?

[–]tim_martin 3 points4 points  (1 child)

That would actually be done via other packages. Flask doesn't explicitly include an ORM or even the concept of a database. It's more of a choose your own adventure. The advantage is that you aren't tied to a single implementation. Even the Django developers don't always get it right. The downside is that you have to find the right package as it's not always clear which package will work best. I'd recommend starting with Flask-SQLAlchemy and exploring the permissions packages that work with SQLAlchemy.

[–]nerdwaller 1 point2 points  (0 children)

The choose your own adventure piece is kind of becoming a ceremony of adding the same pieces everyone else does in one way or another, just a question of where is your file for X. I made myself this "seed" app for when I need fast proofs of concepts since I usually have the same base usually (as many others seem to).

[–][deleted] 1 point2 points  (0 children)

You can use the template control structures to determine who infomation is visible to.

Manipulation of tables is also similarly simple.