基于 Django Row 的权限的状态是什么?

发布于 2024-09-16 02:16:01 字数 178 浏览 4 评论 0原文

Django 行级权限是否可以在应用程序开发中使用?或者到目前为止它只是一个需要第三方组件才能正常工作的钩子?

从 Django 1.2 开始,syncdb 没有创建任何特殊的表/字段来处理行级别权限。

如果不可用,那么与 Django 集成良好的最佳、可靠的开源实现是什么?

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 properly?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

雅心素梦 2024-09-23 02:16:01

Django wiki 页面 说:

几年前,Django 存储库中的一个分支被创建来探索实现更细粒度的权限(在单个对象的级别,而不是在模型类的级别)。那根树枝早已枯死;它已经两年多没有看到提交了,并且可能永远不会以任何有意义的方式更新或集成到 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.

天煞孤星 2024-09-23 02:16:01

不,它不是内置的,但请查看 django-guardian

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文