更新时间:2026-07-14 GMT+08:00
分享

身份策略权限管理

UGO 服务支持身份策略授权。如表1所示,包括了 UGO 身份策略中的所有系统身份策略。身份策略授权场景的系统身份策略与角色与策略授权场景的并不互通。

表1 UGO系统身份策略

策略名称

描述

是否支持

UGOFullAccessPolicy

数据库和应用迁移UGO服务所有权限

必须支持

UGOReadOnlyPolicy

数据库和应用迁移UGO服务只读权限

必须支持

UGOCommonOperationsPolicy

数据库和应用迁移UGO服务SQL翻译权限

可选支持

表2列出来UGO服务常用操作与系统身份策略的关系,您可以参照该表选择合适的系统身份策略。

表2 常用操作与系统身份策略的关系

操作

UGOFullAccessPolicy

UGOReadOnlyPolicy

UGOCommonOperationsPolicy

创建项目

x

x

查询标签

x

查询配额

x

获取项目列表

x

删除项目

x

x

启动迁移项目

x

x

查询项目详情

x

SQL语句转换

x

表3列出了UGO常用操作与对应的系统身份策略授权项,您可以参照该表自定义配置权限策略。

表3 常用操作与对应的系统身份策略授权项

权限

授权项

归类

查询评估项目列表

ugo::listEvaluation

ReadOnly

测试源库连接

ugo::testConnection

ReadWrite

测试网络连接

ugo::testNetworkConnection

ReadWrite

评估项目预检查

ugo::evaluationpreCheck

ReadWrite

保存采集对象SQL

ugo:evaluationJob:saveSQL

ReadWrite

查询评估项目详情

ugo::getDetails

ReadOnly

恢复数据库评估

ugo:evaluationJob:resumeEvalProject

ReadWrite

停止数据库评估

ugo:evaluationJob:stopEvalProject

ReadWrite

查询源数据库信息

ugo:evaluationJob:getSrcDbInfos

ReadOnly

增量评估

ugo:evaluationJob:startDeltaEvaluation

ReadWrite

查询数据库评估结果

ugo:evaluationJob:getSrcAnalysisResult

ReadOnly

重新采集源库

ugo:evaluationJob:recollect

ReadWrite

删除评估项目

ugo:evaluationJob:delete

ReadWrite

下载评估报告

ugo:evaluationJob:download

ReadOnly

指定类型评估

ugo:evaluationJob:analyzeType

ReadWrite

更新评估项目

ugo:evaluationJob:updateEvalProject

ReadWrite

重新评估

ugo:evaluationJob:reanalyze

ReadWrite

更新迁移项目

ugo:migrationJob:update

ReadWrite

启动语法转换

ugo:migrationJob:startConvert

ReadWrite

重新转换

ugo:migrationJob:reconvert

ReadWrite

停止转换

ugo:migrationJob:stopConvert

ReadWrite

批量更新

ugo:migrationJob:updateBulk

ReadWrite

跳过迁移

ugo:migrationJob:skipVerification

ReadWrite

指定对象迁移

ugo:migrationJob:startVerify

ReadWrite

启动迁移验证

ugo:migrationJob:startVerify

ReadWrite

停止迁移

ugo:migrationJob:stopVerify

ReadWrite

跳过转换

ugo:migrationJob:skipObjects

ReadWrite

设置用户密码

ugo:migrationJob:setPassword

ReadWrite

上传文件

ugo:migrationJob:upload

ReadWrite

下载迁移报告

ugo:migrationJob:download

ReadOnly

查询迁移项目列表

ugo::listMigration

ReadOnly

查询迁移项目详情

ugo:migrationJob:getDetails

ReadOnly

删除表空间映射

ugo:migrationJob:deleteTablespaceMapping

ReadWrite

更新表空间

ugo:migrationJob:updateTableSpaceMapping

ReadWrite

查询租户VPCEP Server列表

ugo::listVpcepServers

ReadOnly

查询转换配置模板列表

ugo::listConversionTemplates

ReadOnly

创建转换配置模板

ugo::createConversionTemplate

ReadWrite

更新转换配置模板

ugo::updateConversionTemplate

ReadWrite

查询转换配置模板详情

ugo::getConversionTemplate

ReadOnly

导出转换配置模板

ugo::exportConversionTemplate

ReadOnly

查询项目名称是否存在

ugo::checkProjectInfo

ReadOnly

上传SSL证书

ugo::uploadCertFile

ReadWrite

SQL语句转换

ugo::convert

ReadOnly

查询租户在UGO服务下的配额信息

ugo::getQuotas

ReadOnly

列出数据源

ugo::listDatasource

ReadOnly

创建数据源

ugo::createDatasource

ReadWrite

删除数据源

ugo::deleteDatasource

ReadWrite

更新数据源

ugo::updateDatasource

ReadWrite

创建SQL审核任务

ugo:auditJob:create

ReadWrite

删除SQL审核项目

ugo:auditJob:delete

ReadWrite

更新SQL审核任务

ugo::update

ReadWrite

查询SQL审核任务列表

ugo::listAudit

ReadOnly

重试SQL审核任务

ugo:auditJob:restartAuditTask

ReadWrite

查询SQL审核项目详情

ugo:auditJob:getDetails

ReadOnly

导出SQL审核任务

ugo:auditJob:export

ReadOnly

单语句审核

ugo::auditSingleStatement

ReadWrite

查询规则模板列表

ugo::listRuleTemplates

ReadOnly

创建规则模板

ugo::createRuleTemplate

ReadWrite

删除规则模板

ugo::deleteRuleTemplate

ReadWrite

导出规则模板

ugo::exportRuleTemplate

ReadOnly

导入规则模板

ugo::importRuleTemplate

ReadWrite

查询规则模板

ugo::getRuleTemplate

ReadOnly

更新规则模板

ugo::updateRuleTemplate

ReadWrite

查询指定资源标签

ugo::listTagsForResource

ReadOnly

取消标记指定资源

ugo::unTagResource

ReadOnly

创建标签权限

ugo::tagResource

ReadOnly

查询资源标签

ugo::listTags

ReadOnly

修改资源标签

ugo::modifyTag

ReadOnly

根据资源标签查询项目列表

ugo::listProjectsByTag

ReadOnly

查询SMN主题列表

ugo::listTopics

ReadOnly

查询企业项目列表

ugo::listEPs

ReadOnly

查询创建评估任务状态

ugo::getCreateevalProjectStatus

ReadOnly

查询创建迁移项目状态

ugo::getCreateMigrationprojectStatus

ReadOnly

创建评估项目

ugo:evaluationJob:createEvalProject

ReadWrite

查询目标库类型

ugo::getTargetDbTypes

ReadOnly

列出源库SCHEMA

ugo::listSchema

ReadOnly

查询迁移状态

ugo:migrationJob:getMigrationProcessStatus

ReadOnly

查询目标数据库信息

ugo:migrationJob:getTargetDatabaseInfo

ReadOnly

查询SCHEMA列表

ugo:migrationJob:getSchListWithObjTypes

ReadOnly

查询迁移项目历史

ugo:migrationJob:getMigrationHistory

ReadOnly

查询分布列信息

ugo:migrationJob:getDistributedColumnInfo

ReadOnly

查询迁移项目详情

ugo:migrationJob:getVerificationStatus

ReadOnly

查询语法转换统计信息

ugo:migrationJob:getMigrateSummary

ReadOnly

查询转换对象类型

ugo:migrationJob:getObjectType

ReadOnly

查询迁移项目类型

ugo:migrationJob:getMigrationProjectTypes

ReadOnly

查询转换配置

ugo:migrationJob:getConversionConf

ReadOnly

查询表空间

ugo:migrationJob:getTableSpace

ReadOnly

查询迁移用户信息

ugo:migrationJob:getUserInfo

ReadOnly

查询迁移对象数量

ugo:migrationJob:getMigrationObjCount

ReadOnly

查询迁移对象状态

ugo:migrationJob:getMigrationObjStatus

ReadOnly

查询迁移对象语句

ugo:migrationJob:getMigrationSqlCode

ReadOnly

查询迁移对象校正信息

ugo:migrationJob:getObjectCorrection

ReadOnly

查询校正记录

ugo:migrationJob:getModifyHistory

ReadOnly

列出搜索对象

ugo:migrationJob:listQueryObj

ReadOnly

列出迁移历史

ugo:migrationJob:listHistory

ReadOnly

列出迁移历史信息

ugo:migrationJob:listHistoryInfo

ReadOnly

列出迁移历史对象

ugo:migrationJob:listHistoryObj

ReadOnly

列出迁移验证历史

ugo:migrationJob:listVerificationHistory

ReadOnly

列出迁移验证历史对象

ugo:migrationJob:listVerificationHistoryObj

ReadOnly

查询迁移历史信息

ugo:migrationJob:getHistoryInfo

ReadOnly

查询迁移历史详情

ugo:migrationJob:getHistoryDetails

ReadOnly

查询迁移行数

ugo:migrationJob:getSourceLine

ReadOnly

列出迁移对象列表

ugo:migrationJob:listVerification

ReadOnly

查询迁移配置

ugo:migrationJob:getVerificationConfig

ReadOnly

查询迁移详情

ugo:migrationJob:getVerificationDetail

ReadOnly

查询SQL审核项目详情

ugo:auditJob:getAuditResult

ReadOnly

查询审核失败对象

ugo:auditJob:getErrorObjects

ReadOnly

查询审核对象统计信息

ugo:auditJob:getStatisticObjects

ReadOnly

查询审核对象风险语句

ugo:auditJob:getStatisticRiskSqls

ReadOnly

查询违反规则项对象类型统计信息

ugo:auditJob:getViolationRuleObjectTypes

ReadOnly

查询违反规则项

ugo:auditJob:getViolationRules

ReadOnly

查询数据源使用用户信息

ugo::getApplyUser

ReadOnly

删除分布键映射

ugo:migrationJob:deleteMappedDistributedkey

ReadWrite

删除转换配置模板

ugo::deleteConversionTemplates

ReadWrite

创建迁移项目

ugo:migrationJob:createMigProject

ReadWrite

查询评估项目SCHEMA列表

ugo::getSchemaListStatus

ReadWrite

迁移项目预检查

ugo::migrationpreCheck

ReadWrite

删除迁移项目

ugo:migrationJob:deleteMigProject

ReadWrite

创建评估项目

ugo:evaluationJob:createEvaluationProjects

ReadWrite

查询评估项目列表

ugo:evaluationJob:list

ReadOnly

查询评估项目详情

ugo:evaluationJob:getDetails

ReadOnly

查询迁移项目列表

ugo:migrationJob:list

ReadOnly

创建迁移项目

ugo:migrationJob:createMigrationProjects

ReadWrite

创建迁移项目权限检查

ugo::permissionCheck

ReadWrite

删除迁移项目

ugo:migrationJob:delete

ReadWrite

差异化分析

ugo:evaluationJob:collectDiffAnalysis

ReadWrite

获取差异化分析结果

ugo:evaluationJob:getCollectDiffAnalysis

ReadOnly

查询索引推荐统计信息

ugo:auditJob:getRecommendIndexsStatistic

ReadOnly

查询索引推荐表

ugo:auditJob:getRecommendIndexsTable

ReadOnly

查询审核任务冗余索引

ugo:auditJob:getRedundancyIndexs

ReadOnly

查询审核任务风险SQL

ugo:auditJob:getRecommendIndexsRiskSql

ReadOnly

通用下载

ugo::download

ReadWrite

查询资源预定义标签

ugo::listPreTags

ReadOnly

相关文档