Help Center> Video On Demand> Service Overview> Permissions Management
Updated on 2023-08-03 GMT+08:00

Permissions Management

If you need to assign different permissions to different employees in your enterprise to access your VOD resources, IAM is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your Huawei Cloud resources.

With IAM, you can use your Huawei Cloud account to create IAM users, and assign permissions to the users to control their access to specific resources. For example, some software developers in your enterprise need to use VOD but are not allowed to delete VOD resources or perform any high-risk operations. To this end, you can create IAM users for the software developers and assign them only the permissions for using VOD.

If your Huawei Cloud account does not require individual IAM users for permissions management, skip this section.

IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see IAM Service Overview.

VOD Permissions

By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.

VOD is a project-level service deployed in different physical regions. To assign permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing VOD, the users need to switch to a region where they have been authorized to use VOD.

You can grant users permissions by using roles and policies.

  • Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. If one role has a dependency role required for accessing VOD, assign both roles to the users. However, roles are not an ideal choice for fine-grained authorization and secure access control.
  • Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant VOD users only the permissions for managing a certain type of cloud resources.

Table 1 lists all the system-defined roles and policies supported by VOD.

Table 1 System-defined roles supported by VOD

Role Name

Description

Type

Dependency

VOD Administrator

Administrator permissions on all media files in your Huawei Cloud account

System-defined role

None

VOD Operator

Operation permissions (except media review, global settings, and domain name management) on all media files in your account

System-defined role

None

VOD Guest

Read-only permissions on all media files in your account

System-defined role

None

VOD Group Administrator

Operation permissions except global settings and domain name management for media files created by users in the group to which you belong. This role isolates media files.

System-defined role

None

VOD Group Operator

Operation permissions (except media review, media deletion, global settings, and domain name management) for media files created by users in the group to which you belong. This role isolates media files.

System-defined role

None

VOD Group Guest

Read-only permissions for media files created by all users in the group to which you belong. This role isolates media files.

System-defined role

None

VOD FullAccess

Has all permissions on VOD.

System-defined policy

None

VOD ReadOnlyAccess

Has the read-only permission on VOD.

System-defined policy

None

VOD CommonOperations

Has basic operation permissions on the VOD service (except global configuration, domain name management, permission management, review setting, and audio and video hosting).

System-defined policy

None

Table 2 lists the common operations supported by each system-defined policy of VOD. Select the policies as required.

Table 2 Common operations supported by each system-defined policy

Operation

VOD FullAccess

VOD ReadOnlyAccess

VOD CommonOperations

Creating a domain name

x

x

Modifying a domain name

x

x

Deleting a domain name

x

x

Viewing the domain name list

x

Enabling a domain name

x

x

Disabling a domain name

x

x

Modifying the HTTPS acceleration configuration of a domain name

x

x

Querying the HTTPS acceleration configuration of a domain name

x

Modifying the URL validation configuration of a domain name

x

x

Querying the URL validation configuration of a domain name

x

Modifying the referer validation configuration of a domain name

x

x

Querying the referer validation configuration of a domain name

x

Querying media files

Querying file information

Modifying file attributes

x

Querying file details

Uploading media files

x

Updating a video

x

Deleting media files

x

Publishing media files

x

Canceling media file publish

x

Creating a URL pull task

x

Querying a URL pull task

Deleting a URL pull task

x

Canceling a URL pull task

x

Resuming a URL pull task

x

Creating a pre-loading task

x

Querying a pre-loading task

Creating a media file processing task

x

Canceling a media file processing task

x

Creating an audio extraction task

x

Canceling an audio extraction task

x

Reviewing media files

x

Blocking media files

x

Querying information about blocked media files

Creating a custom template group

x

x

Querying custom template groups

x

Modifying a custom template group

x

x

Deleting a custom template group

x

x

Creating a watermark template

x

x

Querying watermark templates

x

x

Modifying a watermark template

x

x

Deleting a watermark template

x

x

Creating a media category

x

x

Modifying a media category

x

x

Deleting a media category

x

x

Querying media categories

x

Configuring event notifications

x

x

Querying event notifications

x

Creating a workflow template

x

x

Modifying a workflow template

x

x

Deleting a workflow template

x

x

Querying workflow templates

x

Viewing a workflow template

x

Creating a review template

x

x

Querying review templates

x

x

Modifying a review template

x

x

Deleting a review template

x

x

Querying buckets

x

Authorizing access to a bucket

x

x

Querying incremental hosting tasks

x

Modifying an incremental hosting task

x

x

Creating an incremental hosting task

x

x

Deleting an incremental hosting task

x

x

Creating an inventory hosting task

x

x

Querying inventory hosting tasks

x

Querying details about an inventory hosting task

x

Querying users

x

Updating roles associated with a user

x

x

Querying roles

x

Querying role details

x

Creating a role

x

x

Modifying a role

x

x

Deleting roles

x

x

Updating users associated with a role

x

x

Updating the permission template associated with a role

x

x

Querying the permission template list

x

Creating a permission template

x

x

Modifying a permission template

x

x

Deleting a permission template

x

x

Content of the VOD FullAccess Policy

{
        "Version": "1.1",
        "Statement": [
                {
                        "Effect": "Allow",
                        "Action": [
                                "vod:*:*"
                        ]
                }
        ]
}

Content of the VOD ReadOnlyAccess Policy

{
        "Version": "1.1",
        "Statement": [
                {
                        "Effect": "Allow",
                        "Action": [
                                "vod:*:get*",
                                "vod:*:list*"
                        ]
                }
        ]
}

Content of the VOD CommonOperations Policy

{
        "Version": "1.1",
        "Statement": [
                {
                        "Effect": "Allow",
                        "Action": [
                                "vod:asset:*"
                        ]
                }
        ]
}