This topic provides examples of custom policies for Optimization Solver in Resource Access Management (RAM).
Background information
Permission policies include system policies and custom policies. Before you use RAM to manage permissions for Optimization Solver, you must understand the system policies of the product.
If the system policies do not meet your needs, you can create custom policies. For more information, see Create a custom policy.
Before you use RAM to manage permissions for Optimization Solver, you need to understand the permission definitions for Optimization Solver. For more information, see RAM authentication.
Examples of custom policies
Example 1: Grant a Resource Access Management (RAM) user read-only access to Optimization Solver. The user can view pages but cannot use the service. This corresponds to the AliyunOptReadOnlyAccess policy.
{ "Statement": [ { "Action": [ "opt:Get*", "opt:List*" ], "Effect": "Allow", "Resource": "*" } ], "Version": "1" }Example 2: Grant a RAM user full access to Optimization Solver. The user can view pages and use the service. This corresponds to the AliyunOptFullAccess policy.
{ "Statement": [ { "Action": "opt:*", "Effect": "Allow", "Resource": "*" } ], "Version": "1" }