开发者

How to link the user.permissions in Django to another table?

开发者 https://www.devze.com 2023-03-08 06:46 出处:网络
I want to link the permissions(read/write/hide) given to a certain table of开发者_如何学Go a row , to be linked with the user.permissions that Django provides . Is it possible ?

I want to link the permissions(read/write/hide) given to a certain table of开发者_如何学Go a row , to be linked with the user.permissions that Django provides . Is it possible ?

The permissions here are based on a table generated from a spatial data . These permissions are then given to a particular user .

How to map those permissions , if a permission table exists . ?


It sounds like you want object based permissions? django-gaurdian is one option if this is the case.

0

精彩评论

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

关注公众号