[英]I cannot migrate project from "no organisation" to a newly created one. It says I do not have permissions?
I have several projects without organisation which I want to migrate.我有几个没有组织的项目要迁移。 I followed that guide https://cloud.google.com/resource-manager/docs/creating-managing-organization When I try to migrate project to my organisation using UI it says:
我遵循了该指南https://cloud.google.com/resource-manager/docs/creating-managing-organization当我尝试使用 UI 将项目迁移到我的组织时,它说:
You do not have the following required permission to perform this action: "resourcemanager.projects.update"
您没有执行此操作所需的以下权限:“resourcemanager.projects.update”
My user roles on organisation level:我在组织级别的用户角色:
On project level this user has:在项目级别,该用户具有:
When I do from CLI gcloud beta projects move hidden-project-name --organization MY_ORG_ID
I get this:当我从 CLI
gcloud beta projects move hidden-project-name --organization MY_ORG_ID
,我得到了这个:
ERROR: (gcloud.beta.projects.move) User [greg@***] does not have permission to access projects instance [hidden-project-name] (or it may not exist): The caller does not have permission
错误:(gcloud.beta.projects.move)用户 [greg@***] 没有访问项目实例 [hidden-project-name] 的权限(或者它可能不存在):调用者没有权限
Some details: gcloud auth list
shows my user which has permissions gcloud projects list
shows available projects correctly一些细节:
gcloud auth list
shows my user which has permissions gcloud projects list
shows available projects correctly
I ran all commands from Cloud Shell.我从 Cloud Shell 运行了所有命令。
Any ideas which roles I have to assign to my user?我必须将哪些角色分配给我的用户有什么想法吗?
Same issue on my side, migrate project without organisation in another one doesn't work.我这边有同样的问题,在没有组织的情况下迁移项目到另一个项目是行不通的。 I have the same account (email) in the project to move and the destination organisation.
我在要移动的项目和目标组织中有相同的帐户(电子邮件)。
Permissions in the destination (organisation):目的地(组织)中的权限:
Permissions in the resource to move (Firebase project without organisation):移动资源的权限(没有组织的 Firebase 项目):
If I try to migrate from https://console.cloud.google.com , I have this error:如果我尝试从https://console.cloud.google.com迁移,我会遇到以下错误:
If I try to migrate from CLI, I have this error:如果我尝试从 CLI 迁移,我会遇到以下错误:
./Documents/google-cloud-sdk/bin/gcloud beta projects move IDPROJECT --organization IDORGA
ERROR: (gcloud.beta.projects.move) User [email@email.com] does not have permission to access projects instance [PROJECT_TO_MOVE_NAME] (or it may not exist): The caller does not have permission
错误:(gcloud.beta.projects.move)用户 [email@email.com] 无权访问项目实例 [PROJECT_TO_MOVE_NAME](或者它可能不存在):调用者没有权限
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.