I have design the base model like this: class User some user attr
class UserGroup some user_group attr class Asset ... class AssetGroup ... I want to authorize asset and asset_group to user or user_group, I have no good idea about the models design If i set like this: class UserAsset user = .. asset = ... class UserAssetGroup user = .. asset_group = ... class UserGroupAsset user_group = asset = class UserGroupAssetGroup user_group = asset_group = .. If I check the user have the asset permission or not , i will check the user or user group of the user isn't have the asset permission, the user or user group have the asset group(the asset belong to) permission . It's will check more than 10 tables. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9444a015-85d0-43d3-972d-cd07cda5617c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.