开发者

What is the status of Django Row based permission?

开发者 https://www.devze.com 2023-01-13 15:32 出处:网络
Is the Django Row Level Permission ready to use in application development? Or is it just a hook so far that require third party component to work 开发者_StackOverflowproperly?

Is the Django Row Level Permission ready to use in application development? Or is it just a hook so far that require third party component to work 开发者_StackOverflowproperly?

As of Django 1.2, syncdb didn't create any special tables/fields to handle Row Level Perimission.

If not available, what is the best, dependable implementation available as open source that integrates well with Django?


The Django wiki page says:

A couple years ago, a branch in Django's repository was created to explore implementing finer-grained permissions (at the level of individual objects, rather than at the level of model classes). That branch is long since dead; it has not seen a commit in over two years, and likely will never be updated or integrated into Django in any meaningful way.


No it's not built in, but check out django-guardian

0

精彩评论

暂无评论...
验证码 换一张
取 消