メインコンテンツまでスキップ

ロールに権限を追加する

Last updated on December 18, 2024

Overview

This article contains information on how to use AccelByte Gaming Services (AGS) Admin Portal to add permissions to a role that you've previously created.

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.

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

Add permissions to a role

Follow the steps below to add permissions to a role:

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

    Roles

  2. Find the role that you want to add permissions to and click View.

    View a role

  3. In the Permissions section of the Role page, click Add Permission.

    Role Details

  4. On the Add Role Permission dialog, fill in its fields with the following:

    • Type in a permission resource in the Resource field. A permission resource is a string containing multiple tokens that the system uses to grant access to resources.
    • Select the actions the permission requires in the Action field.

    Add role permission

  5. Click Confirm. The system adds the permission to the role.

You've successfully added a permission to a role. You can now assign the role to a user or you can add more permissions to the role.

What's next

Assign a role to a user