Dodo Payments dashboard에서 Entitlements로 이동한 다음 **+**를 클릭하여 새 entitlement를 시작합니다.
2
Pick GitHub
통합으로 GitHub Access를 선택합니다. GitHub가 아직 연결되지 않은 경우 Connect GitHub하라는 메시지가 표시됩니다.
Connect GitHub prompt before the install handoff.
클릭하면 새 탭에서 GitHub가 열립니다. 로그인한 다음 repository를 소유한 organization 또는 user account에 Dodo Payments GitHub App을 설치합니다. all repositories에 액세스 권한을 부여하거나, 액세스를 제한할 repository만 선택할 수 있습니다.
GitHub Install & Authorize page — choose which repositories the app can manage.
GitHub가 다시 리디렉션되면 계정이 연결되었다는 확인 메시지가 표시됩니다.
Account connected — return to the Dodo Payments dashboard to continue.
3
Pick a repository and permission
대시보드로 돌아와 entitlement에서 액세스 권한을 부여할 repository를 선택하고 permission 수준을 지정합니다. repository picker에는 GitHub App이 액세스할 수 있는 repository만 표시됩니다. entitlement에 name을 지정한 다음 Create Entitlement를 클릭합니다.
Creating a GitHub entitlement. Pick the repository and the permission you want customers to receive.
4
Save the entitlement
저장한 후 모든 제품에 entitlement를 연결할 수 있습니다. 해당 제품을 구매한 고객은 제공 시 GitHub 초대를 받습니다.
repository를 소유한 org 또는 user에 Dodo Payments GitHub App이 설치되어 있어야 합니다. Entitlements → Integrations → GitHub를 열고 앱을 다시 설치하면서 관련 repository에 대한 액세스 권한을 부여했는지 확인하세요.
Grant fails with permission_denied
GitHub App의 installation에 더 이상 repository에 대한 액세스 권한이 없거나 repository 이름이 변경되었거나 이전되었습니다. 앱에 대한 액세스 권한을 다시 부여하면 다음 regrant가 성공합니다.
Customer hasn't accepted the invite
고객은 notifications page에서 GitHub 초대를 수락하거나 이메일의 링크를 클릭해야 합니다. 수락하기 전에는 “invited” 상태로 유지되며 repository를 clone할 수 없습니다. grant는 Dodo Payments의 관점에서 여전히 delivered 상태이며, 발급되는 것은 초대입니다.