def get_for_admin(self, admin):
        if admin.is_superuser:
            return self.get_queryset()
        return self.get_queryset().filter(owners__user=admin)
Asserts service config output with heading, header & parameters.
dataset/ETHPy150Open tonioo/modoboa/modoboa/admin/models/domain_alias.py/DomainAliasManager.get_for_admin--crossover with--dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py/TestShowConfig.test_service