Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Managing Project Permissions

Updated on 2025-02-12 GMT+08:00

Scenario

CodeArts provides role-based access control (RBAC). New users do not have any permissions assigned by default. You need to first add them to one or more projects and then assign roles to these users. The users can perform specified operations on cloud services based on the permissions they have been assigned.

CodeArts has multiple built-in system roles. You can also create custom roles with desired permissions for CodeArts Req, CodeArts Repo, CodeArts Check, CodeArts Build, CodeArts Artifact, CodeArts Deploy, CodeArts TestPlan, and CodeArts Pipeline.

Modifying Permissions of a System Role

Ensure that you have permission to assign permissions in the project.

  • The permissions of the project administrator role cannot be edited.
  • The general permissions of the project manager role cannot be edited.
  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region.
    2. Click Access Service.

  2. Click the target project name to access the project.
  3. In the navigation pane, choose Settings > Permissions.
  4. In the role list, click the name of a desired role.
  5. Click a service name. The role's permissions for the service are displayed.
  6. Click Edit, modify the permissions, and click Save.
  7. Check the updated permissions.

Creating a Role

Ensure that you have permission to assign permissions in the project.

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region.
    2. Click Access Service.

  2. Click the project name of interest.
  3. In the navigation pane, choose Settings > Permissions.
  4. Click Create Role.
  5. In the displayed dialog box, configure the following information and click OK.

    Table 1 Creating a role

    Parameter

    Mandatory

    Description

    Role Name

    Yes

    • Do not use the name of a system role.
    • Enter a maximum of 30 characters, including letters, digits, spaces, and the following special characters: () [] - _ ~. & <> {}

    Copy Role

    No

    Copy an existing role from a project of the same type.

  6. Check the new role under Custom Roles.

    You can perform the following operations on the new role.

    Table 2 Managing a custom role

    Operation

    Description

    Editing the role's permissions

    See Modifying Permissions of a System Role.

    Modifying the role name

    1. Click next to the role name and choose Modify Role Name.
    2. Enter a new name and click OK.

      The updated role name is displayed.

    Deleting the role

    1. Click next to the role name and choose Delete Role.
    2. Enter YES and click OK.

      The role is no longer displayed on the page.

Managing Permission Templates

When multiple projects require the same permission settings, you can configure permissions for one of the projects, and save the settings as a permission template to reuse in other projects.

Permission templates can be reused only between projects of the same type.

Each tenant can create up to 20 permission templates.

  • Creating a Permission Template
    1. Go to the CodeArts homepage.
      1. Log in to the CodeArts console, click , and select a region.
      2. Click Access Service.
    2. Click the project name of interest.
    3. In the navigation pane, choose Settings > Permissions.
    4. Click Save as Template.
    5. In the displayed dialog box, configure the following information and click OK.
      Table 3 Saving permission settings as a template

      Parameter

      Mandatory

      Description

      Name

      Yes

      Enter a maximum of 64 characters, including letters and digits.

      Description

      No

      Enter a maximum of 256 characters, including letters, digits, spaces, and these special characters: , . () []

    6. Save the settings. Click the username on the navigation bar and choose All Account Settings.
    7. Choose General > Permission Template. The saved permission template is displayed.

      Users with the Tenant Administrator role can edit and delete permission templates.

  • Using Permission Templates in a Project
    1. Go to the CodeArts homepage.
      1. Log in to the CodeArts console, click , and select a region.
      2. Click Access Service.
    2. Click the project name of interest.
    3. In the navigation pane, choose Settings > Permissions.
    4. On the Permissions tab, click the Select Template drop-down list and select a template.
    5. Click OK.
    6. Check the updated role permissions.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback