Last Updated on : 2024-06-24 09:55:59download
The Tuya Developer Platform enables you to access Authorize to Collaborate Within Organization. With this feature, you can grant specific role permissions to another account. This way, the authorized account can be used as a sub-account to view and operate your menu, product ID (PID), or app, and manage the data of your account.
Tuya presets several common roles, such as developer, administrator, data operation, and customer service. For example, brand owner A wants to create a product and has the following requirements. In this case, brand owner A can authorize sub-accounts to collaborate within the organization.
Requirement | Authorization within the organization |
---|---|
A solution provider assists in creating product solutions. | Grant the developer permission to the solution provider. |
The buyer for brand owner A purchases modules from Tuya. | Grant the buyer permission to the buyer. |
The marketing operations personnel and customer service personnel of brand owner A check the products that have been launched on the market. |
|
A space is a place to handle the authorization data. One space corresponds to one account of the authorizer. Authorized accounts consist of organization accounts and individual developer accounts. When you authorize other accounts, a space will be generated under the authorized account, and the authorized data and operation permissions can be seen in the space. For example:
Account A authorizes account B and account C, and then both account B and account C get a space authorized by account A.
Both account A and account B grant permissions to account C, then account C gets a space authorized by account A and account B respectively.
Tuya provides 11 preset roles. If the preset roles cannot meet your permission assignment requirements, you can create a custom role. The permission you set needs to include the following three dimensions:
Permissions | Description |
---|---|
Role type | You can assign different role types to accounts based on the scope of functions, together with the specified permissions of menus and data. |
Menu permissions | The menu items that an authorized account can view, enter, and use. |
Data permissions | The data that an authorized account can view, process, edit, and delete after the account accesses the specific menu. Data can be generated by products, applications, and agents. Data permissions include management permission and view permission.
|
You can edit the menu permissions of custom roles, but preset roles cannot be edited.
The authorizer’s account and authorized account must be registered on the platform. Register an account in advance or get a Tuya developer account from the authorized party.
This feature allows you to grant another account the permissions to view and operate the data that belongs to your account.
Log in to the platform.
In the top right corner of the platform, choose My Space > Authorization> Authorize to Collaborate Within Organization.
In the Granted by Me tab, click Add Authorization.
In the Grant Space Permissions dialog box, enter the authorized account and click OK.
You are navigated to the page of Set Permissions. All products and apps available under the account space can be authorized to third parties. However, the data in the authorized space cannot be further authorized.
In the Role type section of the Set Permissions page, click + Custom Role.
On the Custom Role page, enter the custom role name, and select the menu permissions and subsidiary permissions at all levels as needed.
Click Save at the bottom of the page and go back to the Set Permissions page.
(Optional) In the Menu Permissions table, click Edit to edit the menu permissions for the role.
Select data management or view permissions in the Data Permissions section.
Select the data permissions regarding the specified products, applications, and technical support tickets.
If you select All Products, All Apps, or All technical support tickets, the data permissions include those of existing and future new products, applications, and tickets.
Click OK.
The authorized party can go to My Space > Authorization > Authorize to Collaborate Within Organization > Granted to Me to view the authorized Space. This space is displayed under the organization name of the authorizer.
You can request specific role permissions in a space of another account. Specified roles are limited to Tuya’s 11 preset roles.
Log in to the platform.
In the top right corner of the platform, choose My Space > Authorization> Authorize to Collaborate Within Organization.
In the Granted to Me tab, click Request Space Permissions.
In the Request Space Permissions dialog box, enter the space owner’s IoT account.
The space owner’s IoT account can be an email address or phone number. But currently, the platform only supports a phone number in mainland China that begins with the country code +86
.
Click Submit. After the other party agrees, you will join the other party’s space with the default role requested from Tuya. In the other party’s space, you can only view the data of the products or apps you created.
Log in to the platform.
In the top right corner of the platform, choose My Space > Authorization> Authorize to Collaborate Within Organization.
In the Granted by Me tab, click Delete.
After deletion, the authorized data disappears from the authorized account.
Method 1:
Log in to the platform.
In the top right corner of the platform, choose My Space > More Space to view and switch to another space. The default space and authorized spaces are shown. Click More Space at the bottom of the space list, and you will find more details of the spaces.
Method 2:
This feature allows you to show the specified spaces in the space list.
Follow the steps below to fix a space on the top bar.
Log in to the platform.
Choose My Space > Authorization > Authorize to Collaborate Within Organization > Granted to Me.
Click Fixed on Top Bar or Hide from Top Bar in the Operation column to designate the display status of a space.
Go back to the platform.
In the top right corner of the platform, choose My Space > More Space to view the list of spaces on the top bar.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback