I'm not sure I understand where to use this method in ModelAdmin. Should I replace occurrences of user.has_module_perms by model_admin.has_module_permission (like in the index() and app_index() methods of AdminSite) ?