mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
feat: 添加翻译
This commit is contained in:
@@ -205,11 +205,11 @@ func (r *Postgres) Users() ([]types.PostgresUser, error) {
|
||||
}
|
||||
|
||||
permissions := map[string]bool{
|
||||
"超级用户": super,
|
||||
"创建角色": canCreateRole,
|
||||
"创建数据库": canCreateDb,
|
||||
"可以复制": replication,
|
||||
"绕过行级安全": bypassRls,
|
||||
"Super": super,
|
||||
"CreateRole": canCreateRole,
|
||||
"CreateDB": canCreateDb,
|
||||
"Replication": replication,
|
||||
"BypassRLS": bypassRls,
|
||||
}
|
||||
for perm, enabled := range permissions {
|
||||
if enabled {
|
||||
|
||||
Reference in New Issue
Block a user