Mohammed Nafees 3 лет назад
Родитель
Сommit
6c735f9575
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      api/server/router/project.go

+ 2 - 1
api/server/router/project.go

@@ -396,8 +396,9 @@ func getProjectRoutes(
 				RelativePath: relPath + "/collaborators/{user_id}",
 			},
 			Scopes: []types.PermissionScope{
-				types.SettingsScope,
+				types.UserScope,
 				types.ProjectScope,
+				types.SettingsScope,
 			},
 		},
 	)