Actions Supported by Policy-based Authorization
This section describes the actions supported by ServiceStage in policy-based authorization.
Supported Actions
ServiceStage provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:
- Permissions: statements in a policy that allow or deny certain operations.
- APIs: REST APIs that can be called by a user who has been granted specific permissions.
- Actions: specific operations that are allowed or denied.
- Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
- IAM projects/Enterprise projects: the authorization scope of a custom policy. A custom policy can be applied to IAM projects or enterprise projects or both. Policies that contain actions for both IAM and enterprise projects can be used and applied for both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be used and applied to IAM only. Administrators can check whether an action supports IAM projects or enterprise projects in the action list. For details about the differences between IAM and enterprise projects, see What Are the Differences Between IAM and Enterprise Management?
ServiceStage supports the following actions in custom policies:
|
Permissions |
APIs |
Actions |
IAM Projects |
Enterprise Projects |
|---|---|---|---|---|
|
Create an application |
POST /v3/{project_id}/cas/applications |
servicestage:app:create |
√ |
√ |
|
Delete an application |
DELETE /v3/{project_id}/cas/applications/{application_id} |
servicestage:app:delete |
√ |
√ |
|
Update an application |
PUT /v3/{project_id}/cas/applications/{application_id} |
servicestage:app:modify |
√ |
√ |
|
Query applications |
GET /v3/{project_id}/cas/applications |
servicestage:app:list |
√ |
√ |
|
Query application information |
GET /v3/{project_id}/cas/applications/{application_id} |
servicestage:app:get |
√ |
√ |
|
Modify a project |
- |
servicestage:project:modify |
√ |
√ |
|
Create a project |
- |
servicestage:project:create |
√ |
√ |
|
Approve an application |
- |
servicestage:app:approve |
√ |
√ |
|
View pipelines |
- |
servicestage:pipeline:list |
√ |
√ |
|
Modify a build job |
- |
servicestage:assembling:modify |
√ |
√ |
|
Approve a pipeline |
- |
servicestage:pipeline:review |
√ |
√ |
|
Execute a pipeline |
- |
servicestage:pipeline:execute |
√ |
√ |
|
View the build information |
- |
servicestage:project:get |
√ |
√ |
|
Delete a build job |
- |
servicestage:assembling:delete |
√ |
√ |
|
Delete a pipeline |
- |
servicestage:pipeline:delete |
√ |
√ |
|
Delete a project |
- |
servicestage:project:delete |
√ |
√ |
|
Modify a pipeline |
- |
servicestage:pipeline:modify |
√ |
√ |
|
Create a build job |
- |
servicestage:assembling:create |
√ |
√ |
|
View build jobs |
- |
servicestage:assembling:list |
√ |
√ |
|
View the build information |
- |
servicestage:assembling:get |
√ |
√ |
|
View projects |
- |
servicestage:project:list |
√ |
√ |
|
View the pipeline information |
- |
servicestage:pipeline:get |
√ |
√ |
|
Create a pipeline |
- |
servicestage:pipeline:create |
√ |
√ |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot