角色与权限
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
SAS Portal API 有多个角色(如下所述),每个角色都授予用户进行特定 API 调用的权限。角色会分配给用户的 Google 账号。
SAS 客户组织中的第一个用户是管理员,系统会在注册过程中自动添加该用户。然后,管理员可以添加其他用户并为其分配角色,包括管理员角色。
用户角色
您可以为用户分配以下两种角色:
role_admin
此角色对已授予访问权限的父资源下的所有子资源拥有完整的管理权限。他们会在 SAS 门户中设置组织的结构并管理用户访问权限。
role_cpi
此角色适用于经过认证的专业安装人员 (CPI)。如需声明此角色,用户需要证明自己拥有有效的 CPI 认证。它们通过 ValidateInstaller()
方法实现此目的。只有具有经过验证的 role_cpi
角色的用户才能使用 SignDevice()
方法提交需要 CPI 安装的 CBSD 的安装参数。
方法
下表显示了哪些角色可以使用每种类型的方法:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["The SAS Portal API uses roles to control user permissions, with `role_admin` for administrative tasks and `role_cpi` for Certified Professional Installers."],["Initially, an Admin user is automatically assigned during sign-up and can manage other users and their roles."],["CPI users need to validate their certification using the `ValidateInstaller()` method to utilize the `SignDevice()` method for CBSD installations."],["Both `role_admin` and `role_cpi` have access to a range of methods like `GetCustomer()`, `ListDevices()`, and `UpdateDevice()`, while `SignDevice()` is exclusive to validated `role_cpi` users."],["Currently, user role assignment is handled by the SAS API Support team, and requests should be sent to [sas-api-support@google.com](mailto:sas-api-support@google.com)."]]],["The SAS Portal API assigns roles to users' Google Accounts to manage API access. The initial Admin role is established during signup, and admins can manage user roles. Currently, role assignment is handled by the SAS API Support team via request. Two roles exist: `role_admin` with full administrative control and `role_cpi` for Certified Professional Installers who must validate their certification using `ValidateInstaller()` to use `SignDevice()`. Both roles share access to other core methods, such as `GetCustomer()` and `CreateDevice()`.\n"]]