def _get_all_permissions(opts):
    builtin = _get_builtin_permissions(opts)
    custom = list(opts.permissions)
    return builtin + custom
Returns (codename, name) for all permissions in the given opts.
dataset/ETHPy150Open django/django/django/contrib/auth/management/__init__.py/_get_all_permissions