Permissions Description
If you need to assign different permissions to employees in your enterprise to access your FunctionGraph 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 cloud resources.
With IAM, you can use your account to create IAM users for your employees, and assign permissions to the users to control their access to specific resource types. For example, some software developers in your enterprise need to use FunctionGraph resources but must not delete them or perform any high-risk operations. To achieve this result, you can create IAM users for the software developers and grant them only the permissions required for using FunctionGraph resources.
If your account does not need individual IAM users for permissions management, you may skip over this chapter.
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.
FunctionGraph Permissions
By default, new IAM users do not have any permissions assigned. You need to add a user to one or more groups, and assign permissions policies to these groups. The user then inherits permissions from the groups it is a member of. This process is called authorization. After authorization, the user can perform specified operations on FunctionGraph based on the permissions.
FunctionGraph is a project-level service deployed and accessed in specific physical regions. To assign FunctionGraph 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 FunctionGraph, the users need to switch to a region where they have been authorized to use the FunctionGraph service.
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. When using roles to grant permissions, you may also need to assign other roles on which the permissions depend. 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.
Table 1 lists all the system policies supported by FunctionGraph.
|
Role/Policy Name |
Description |
Category |
Dependency |
|---|---|---|---|
|
FunctionGraph Administrator |
Administrator permissions for FunctionGraph |
System-defined policy |
N/A |
|
FunctionGraph Invoker |
Permissions for querying and invoking FunctionGraph functions |
System-defined policy |
N/A |
|
FunctionGraph FullAccess |
Fine-grained full permissions for FunctionGraph |
System-defined policy |
N/A |
|
FunctionGraph ReadOnlyAccess |
Fine-grained read-only permissions for FunctionGraph |
System-defined policy |
N/A |
|
FunctionGraph CommonOperations |
Fine-grained invoker permissions for FunctionGraph (querying functions and triggers, and invoking functions) |
System-defined policy |
N/A |
Table 2 lists the common operations supported by each system-defined policy of FunctionGraph. Please choose proper system-defined policies according to this table.
|
Operation |
FunctionGraph Invoker |
FunctionGraph Administrator |
FunctionGraph ReadOnlyAccess |
FunctionGraph CommonOperations |
FunctionGraph FullAccess |
|---|---|---|---|---|---|
|
Creating functions |
× |
√ |
× |
× |
√ |
|
Querying functions |
√ |
√ |
√ |
√ |
√ |
|
Modifying functions |
× |
√ |
× |
× |
√ |
|
Deleting functions |
× |
√ |
× |
× |
√ |
|
Invoking functions |
√ |
√ |
× |
√ |
√ |
|
Querying function logs |
√ |
√ |
√ |
√ |
√ |
|
Viewing function metrics |
√ |
√ |
√ |
√ |
√ |
Last Article: Application Scenarios
Next Article: Related Services
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.