GSuite/Cloud平台-修复或重置权限 [英] GSuite/Cloud Platform - Fixing or Resetting Permissions

查看:78
本文介绍了GSuite/Cloud平台-修复或重置权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个Google Cloud Platform项目和一个相关的服务帐户,用于访问Admin SDK中的Directory API.经过一些试验,我决定删除该项目和服务帐户,并从头开始.大约在同一时间,我还更改了GSuite帐户的主域.

我相信这种组合已经搞砸了我在Google Cloud Platform中的权限.我是GSuite帐户上唯一的SuperAdmin,但似乎我无法做很多事情(下面的示例).有什么办法可以完全重置权限或完全重置Cloud Platform帐户?此时,没有任何项目会失败.

示例:

  • 当我尝试创建新项目时,选择位置"时,唯一的选项(组织名称,仍使用旧的主域)告诉我您无权在以下位置创建项目这个位置"

  • 如果我去IAM&管理员>设置,然后尝试重命名组织,它会显示您无权重命名该资源. 所需权限:resourcemanager.organizations.get和resourcemanager.organizations.update的全部"

  • 如果我去IAM&管理员>角色顶部的横幅显示您没有足够的权限来查看此页面"

我联系了GSuite支持,但是由于问题本身在Cloud Platform方面,所以他们不能为我做很多事情.

解决方案

我仍然不确定是什么原因导致权限被破坏,但是创建了另一个GSuite管理员并使用该管理员来修复权限就解决了. >

I had created a Google Cloud Platform project and an associated service account for accessing the Directory API in the Admin SDK. After some experimentation I decided to remove that project and the service account and start from scratch. Around that same time I also changed the primary domain on our GSuite account.

I believe this combination has screwed up my permissions in the Google Cloud Platform. I'm the only SuperAdmin on our GSuite account, and yet it seems I'm unable to do many things (examples below). Any way to completely reset permissions or the Cloud Platform account entirely? There are no projects to lose at this point.

Examples:

  • When I try to create a new project, when choosing "location", the only option (the name of the organization, still using the old primary domain) tells me "You do not have permission to create projects in this location"

  • If I go to IAM & Admin > Settings and try to rename the organization, it says "You do not have the permission to rename this resource. Required permission(s): All of resourcemanager.organizations.get and resourcemanager.organizations.update"

  • If I go to IAM & Admin > Roles a banner at the top says "You do not have sufficient permissions to view this page"

I contacted GSuite support, but since the problem itself was on the Cloud Platform side they couldn't really do much for me.

解决方案

I'm still not sure what caused the permissions to get mangled, but creating another GSuite admin and using that one to repair permissions took care of it.

这篇关于GSuite/Cloud平台-修复或重置权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆