阅读背景:

Django:基于模型实例的权限

来源:互联网 

I have a model class Project and for each model instance, there should be a 'group' of users who may edit that instance. I guess I could add another model class called ProjectEditor to add those editors. Is there a better way of implementing this? What about checking for permissions? I would need to write my own permission method then too, right? and for each model




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: