Switch Gitea connection validation to repository access
This commit is contained in:
@@ -202,7 +202,7 @@ const submitUpdate = (): void => {
|
||||
updateForm.submit(
|
||||
ProjectRepositorySettingsController.update([
|
||||
props.project.id,
|
||||
updateForm.repository_connection_id,
|
||||
Number(updateForm.repository_connection_id),
|
||||
]),
|
||||
{
|
||||
preserveScroll: true,
|
||||
|
||||
@@ -150,7 +150,10 @@ const breadcrumbItems: BreadcrumbItem[] = [
|
||||
|
||||
<p class="text-xs text-muted-foreground">
|
||||
Remote user ID:
|
||||
{{ gitConnection.provider_user_id }}
|
||||
{{
|
||||
gitConnection.provider_user_id ||
|
||||
'Unavailable for repository-only tokens'
|
||||
}}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user