Returns (codename, name) for all tools.

def _get_all_permissions(opts, tools):
    """Returns (codename, name) for all tools."""
    perms = []
    for tool in tools:
        perms.append((_get_permission_codename(tool, opts), 'Can %s %s' % \
                (tool.name, opts.verbose_name_plural)))
    return perms