Interfejs SAS Portal API ma kilka zdefiniowanych poniżej ról. Każda z nich daje użytkownikowi uprawnienia do wykonywania określonych wywołań interfejsu API. Role są przypisane do konta Google użytkownika.
Pierwszy użytkownik organizacji SAS to klient, który jest automatycznie dodawany podczas rejestracji. Administrator może dodawać innych użytkowników i przypisywać im role, w tym rolę administratora.
Ta rola ma pełne uprawnienia administracyjne do wszystkich zasobów podrzędnych w zasobie nadrzędnym, do którego został przyznany. Konfiguruje on strukturę organizacji w portalu SAS i zarządza dostępem użytkowników.
rola_cpi
Ta rola jest przeznaczona dla użytkowników z certyfikatem CPI. Aby uzyskać tę rolę, użytkownicy muszą udowodnić, że mają aktywny certyfikat CPI. Robią to za pomocą metody ValidateInstaller(). Tylko użytkownicy z potwierdzoną rolą role_cpi mogą używać metody SignDevice() do przesyłania parametrów instalacji CBSD, które wymagają instalacji CPI.
Metody
W poniższej tabeli przedstawiono role, które mogą korzystać z poszczególnych typów metod:
[null,null,["Ostatnia aktualizacja: 2022-09-26 UTC."],[[["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"]]