def get_model_perms(self, request): if get_model_admin_perms(request, 'Range'): return super(RangeAdmin, self).get_model_perms(request) else: return {}
def get_model_perms(self, request): if get_model_admin_perms(request, 'Document'): return super(DocumentAdmin, self).get_model_perms(request) else: return {}
def get_model_perms(self, request): if get_model_admin_perms(request, 'Report'): return super(ReportAdmin, self).get_model_perms(request) else: return {}
def get_model_perms(self, request): if get_model_admin_perms(request, 'Settings'): return super(SettingsAdmin, self).get_model_perms(request) else: return {}
def get_model_perms(self, request): if get_model_admin_perms(request, 'Building'): return super(BuildingAdmin, self).get_model_perms(request) else: return {}
def get_model_perms(self, request): if get_model_admin_perms(request, 'Structure'): return super(StructureAdmin, self).get_model_perms(request) else: return {}
def get_model_perms(self, request): if get_model_admin_perms(request, 'Wsp'): return super(WspAdmin, self).get_model_perms(request) else: return {}