# Wymagane uprawnienia

{% hint style="success" %}
**Xopero ONE** obsługuje tworzenie i przywracanie kopii zapasowych dla instancji **GitHub Enterprise Cloud** odseparowanych od głównego środowiska **GitHub** (np. <kbd>twoja-organizacja.ghe.com</kbd>). Takie odizolowane instancje **GitHub Enterprise Cloud** można integrować z **Xopero ONE** jako **GitHub Enterprise Cloud with Data Residency**.
{% endhint %}

## Konto <a href="#account" id="account"></a>

Aplikacja wymaga następujących uprawnień do logowania na Twoje konto:

* [x] **Personal User Data** — adresy e-mail (**tylko do odczytu**) i informacje profilowe (**tylko do odczytu**).
* [x] **Repositories** — dostęp do repozytoriów publicznych i prywatnych.
* [x] **Code** — obejmuje Issues, Pull Requests, Wikis, ustawienia, Webhooks i usługi, [klucze wdrożeniowe](#user-content-fn-1)[^1], zaproszenia do współpracy, workflowy oraz aktualizację plików workflow GitHub Action.

***

## Osobisty token dostępu (PAT) <a href="#personal_access_token" id="personal_access_token"></a>

Minimalne uprawnienie autoryzacyjne wymagane dla tokenu do zarejestrowania aplikacji **Xopero ONE** i wykonywania backupu lub przywracania repozytorium to: `repo`.

{% hint style="info" %}
Token dostępu możesz wygenerować w sekcji **Tokens** Twojego konta **GitHub Enterprise**.
{% endhint %}

{% hint style="danger" %}
Przy **minimalnych uprawnieniach** niektóre metadane **mogą nie zostać uwzględnione** w procesie backupu. Wybierz niezbędne uprawnienia w oparciu o konkretne dane, które chcesz chronić.
{% endhint %}

[^1]: deploy keys


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/pl/kopia-zapasowa-i-przywracanie/devops/github-enterprise/integracja/wymagane-uprawnienia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
