Employee permission management

Updated at:
Copy as MD

As a root account administrator, you can create RAM users for different employees, such as content editors, designers, and operations staff, and assign them fine-grained permissions to manage your website. This topic describes how to create RAM users and assign permissions.

Employee permission management lets you perform the following operations:

  • Employee management: Edit job titles, add employees, edit employee information, and delete employees.

  • Employee role management: Create different roles, such as Editor or Operator. You can assign permissions to roles in batches and then assign the roles to sub-administrators.

Configuration process overview:

  1. Create a RAM user: Create a RAM user in the Alibaba Cloud Resource Access Management (RAM) console.

  2. Grant permissions to the RAM user: Grant the RAM user permissions to manage the website builder product.

  3. Add a sub-administrator: Add a sub-administrator in the website management backend and associate the RAM user.

  4. Configure roles and permissions: Create roles, define permission sets, and then assign the roles to sub-administrators.

Step 1: Create a RAM user

Note

If you already have an active RAM user, you can skip this step.

What is a RAM user?

Resource Access Management (RAM) is an Alibaba Cloud service that lets you manage user identities and resource access permissions. Using RAM, you can create and manage RAM users, such as employees, systems, or applications. You can also control their permissions to access resources under your account. This enables multi-user collaboration and improves security.

  1. Use your Alibaba Cloud account to go to the Create RAM User page.

  2. On the Create User page, in the User Account Information section, set the basic user information.

    • Logon Name (required): Up to 64 characters. Allows letters, digits, periods (.), hyphens (-), and underscores (_).

    • Display Name (optional): The name can be up to 128 characters long.

    • Tag (optional): Click edit, then enter a tag key and tag value to categorize and manage users.

    • Security Phone (optional): Enter a mainland China mobile number in +86 format. +86 is the country/region code and is selected by default; enter only the phone number itself. After the first binding, the number must be activated through SMS verification.

  3. In the Access Mode section, select Console Access, and then set the parameters.

    If an employee needs to call APIs programmatically, select Use permanent AccessKey for access. For more information, see Create a RAM user.
  4. Click OK and complete the security authentication as prompted.

Step 2: Grant permissions to the RAM user

  1. Use your Alibaba Cloud account to go to the RAM console. In the navigation pane, choose Identity Management > Users.

  2. Find the target RAM user and click Add Permissions in the Actions column.

  3. In the Add Permissions panel, add permissions for the RAM user.

    • Resource Scope: Select Account Level.

    • Principal: Keep the default value.

    • Access Policy: Search for and select AliyunWebsiteBuildFullAccess.

  4. Click Confirm Add Permissions and complete the security authentication as prompted.

Step 3: Add a sub-administrator and associate the RAM user

After you create the RAM user, return to the website management backend to add the user as a sub-administrator.

  1. In the navigation pane, choose System Settings > Employee Management, and click Add Sub-administrator.

  2. In the dialog box that appears, select the RAM user from the list, enter the sub-administrator information, and click OK.

  3. The new sub-administrator appears in the Employee Management list. You can click Edit to modify their information at any time.

Step 4: Configure employee roles and permissions

You can assign permissions to sub-administrators using roles. First, create a role with specific permissions, and then assign the role to a sub-administrator.

  1. In the navigation pane, choose System Settings > Employee Role Management, and click Add Employee Role.

  2. Enter a Role Name, such as "Content Editor" or "Operations Staff". Select the required permissions for the role, and then click OK.

  3. In the Employee Role Management list, find the role that you want to assign and click the image button.

  4. In the dialog box that appears, select one or more employees to assign the role to, and then click OK.

    Note

    An employee can have multiple roles. Their final permissions are the union of all permissions from their assigned roles. If you delete a role, any sub-administrator with that role loses the permissions associated with it.

Log on as a RAM user

After you grant RAM permissions and assign employee roles, the RAM user can log on to the website management backend and start work.

  1. Go to the Wanxiaozhi AI Website Builder console.

  2. At the bottom of the page, click RAM User Logon.

  3. Enter the username and password of the RAM user to complete the logon.

  4. In the application list, find the target application and click Enter Application to open the website management backend.

Permission logic

When you associate the first sub-administrator to configure fine-grained permissions for a website, the website's access control switches to a role-based authorization whitelist mode. Note the following permission logic to avoid configuration errors:

  • When no sub-administrators are associated with the website (default state): The root account and all RAM users created under it can log on to and access all sites under the root account.

  • When at least one sub-administrator is associated with the website:

    • For associated RAM users: Their permissions are determined by their assigned employee roles. If a sub-administrator has no roles, they cannot perform any operations on the website after they log on.

    • For other unassociated RAM users: They immediately lose access to the website.