ソースを参照

add user scope

Mohammed Nafees 3 年 前
コミット
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}",
 				RelativePath: relPath + "/collaborators/{user_id}",
 			},
 			},
 			Scopes: []types.PermissionScope{
 			Scopes: []types.PermissionScope{
-				types.SettingsScope,
+				types.UserScope,
 				types.ProjectScope,
 				types.ProjectScope,
+				types.SettingsScope,
 			},
 			},
 		},
 		},
 	)
 	)