Skip to main content

Assign a role to a user

Last updated on October 24, 2024

Overview

This article contains information on how to use AccelByte Gaming Services (AGS) Admin Portal to assign a role to a user. You can do this from either the Admin Management or Roles page.

Prerequisites

  • You have access to the Admin Portal and have sufficient permissions for roles management.
  • You have created at least one role in your environment.
AGS Shared Cloud

To assign a role in Shared Cloud, you need to have:

  • Admin Management menu in the Studio Namespace
  • Studio Admin or Game Admin role accounts

Required permissions

Make sure your account has the following permissions before you attempt to manage roles in the Admin Portal.

UsageResourceAction
Create RoleADMIN:ROLECreate
Add Role PermissionsADMIN:ROLEUpdate
Invite User AdminADMIN:NAMESPACE:{namespace}:USER:INVITECreate
Admin Add User's RoleADMIN:NAMESPACE:{namespace}:ROLE:USER:Update

Assign roles to users

You can assign roles to your users from the Admin Management page and the Roles & Permissions page.

From the Admin Management page

  1. In the Admin Portal, go to your studio namespace. Go to Admin Task > Admin Management. Find the role that you want to add permissions to and click View next to it.

  2. On the Details page, click Add role.

    assign role shared cloud click Add Role

  3. On the Add Role form, fill in the fields with the following information:

    • In the Role field, you can select one of the following roles: Studio Admin, Game Admin, or View only.
      • If the account already has one of the roles, then that role will not be shown. For example, if the account you want to change has a Game Admin role, then there will be two options for you: Studio Admin or View only.
      • If your account is granted a Game Admin or View only role, then the Studio Admin option will not be shown.
    • In the Namespace field, choose the game namespace(s) you want to grant to the chosen role.
      • If you choose Studio Namespace, the Game Namespace field will not be shown, as a studio namespace can access all game namespaces.
  4. Click Add after you complete the form and the role on the account will be updated.

From the Roles & Permissions page

note

This option is only available in AGS Private Cloud tier.

  1. On the Admin Portal sidebar, go to Admin Task > Roles & Permissions.

    Roles

  2. Click View next to the Role that you want to assign users to.

    View a role

  3. Click the Assign Role button in the Assigned Users section of the page.

    Assign role

  4. On the Assign User Role form, fill in the fields with the following information:

  • In the User ID or Email Address field, type in the ID or email address of the user you want to assign the role to.

  • If you haven't configured the role to enable access to all namespaces, the Select Namespace field appears, where you can choose one or more namespaces. These namespaces are the only ones in which the user has this role. This enables you to create one role that you can use for multiple games.

    Assign role to user

  1. Click Add. The system assigns the user to the role.