Mohammed Nafees 4 rokov pred
rodič
commit
6c735f9575
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  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,
 			},
 			},
 		},
 		},
 	)
 	)