角色和權限
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
SAS Portal API 具備多個定義 (各定義如下),每個角色都能讓使用者執行特定 API 呼叫。這些角色會指派給使用者的 Google 帳戶。
SAS 客戶的第一個使用者是「管理員」,在註冊過程中會自動新增機構。之後,管理員就能新增其他使用者並指派角色,包括管理員角色。
使用者角色
您可以將兩種角色指派給使用者:
role_admin
這個角色具有已授予父項資源 所有所有子項的完整管理權限。該公司在 SAS 入口網站中設定機構架構,並管理使用者存取權。
role_cpi
這個角色適用於通過認證的專業安裝人員 (CPI)。如要聲明這個角色的擁有權,使用者必須證明自己具備有效的單次安裝出價認證。他們會使用 ValidateInstaller()
方法。只有通過驗證的 role_cpi
角色的使用者才能使用 SignDevice()
方法,提交需要安裝 CPI 的 CBSD 安裝參數。
方法
下表列出各角色可使用的角色。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-09-26 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2022-09-26 (世界標準時間)。"],[[["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"]]