198 lines
5.2 KiB
JSON
198 lines
5.2 KiB
JSON
|
|
[
|
||
|
|
{
|
||
|
|
"name": "member.info.management",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "會員資訊管理(分類)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.basic.info",
|
||
|
|
"parent": "member.info.management",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "基礎資訊(分類)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.info.select",
|
||
|
|
"parent": "member.basic.info",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/members/me",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "讀取自身會員資料"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.info.update",
|
||
|
|
"parent": "member.basic.info",
|
||
|
|
"http_methods": "PATCH",
|
||
|
|
"http_path": "/api/v1/members/me",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "更新自身會員資料"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.info.select.plain_code",
|
||
|
|
"parent": "member.info.select",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/members/me",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "讀取明碼欄位(敏感)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.admin.list",
|
||
|
|
"parent": "member.info.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/members",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "列出全部會員"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.admin.read",
|
||
|
|
"parent": "member.info.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/members/:uid",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "讀取指定會員"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.admin.update",
|
||
|
|
"parent": "member.info.management",
|
||
|
|
"http_methods": "PATCH",
|
||
|
|
"http_path": "/api/v1/members/:uid",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "更新指定會員"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "member.admin.status",
|
||
|
|
"parent": "member.info.management",
|
||
|
|
"http_methods": "PATCH",
|
||
|
|
"http_path": "/api/v1/members/:uid/status",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "啟停指定會員"
|
||
|
|
},
|
||
|
|
|
||
|
|
{
|
||
|
|
"name": "permission.role.management",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "角色權限管理(分類)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "permission.role.read",
|
||
|
|
"parent": "permission.role.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/permissions/roles",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "讀取角色清單"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "permission.role.write",
|
||
|
|
"parent": "permission.role.management",
|
||
|
|
"http_methods": "POST|PUT|DELETE",
|
||
|
|
"http_path": "/api/v1/permissions/roles*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "管理角色(建立/修改/刪除)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "permission.assign.write",
|
||
|
|
"parent": "permission.role.management",
|
||
|
|
"http_methods": "POST|DELETE",
|
||
|
|
"http_path": "/api/v1/permissions/users/*/roles*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "指派 / 撤銷使用者角色"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "permission.mapping.write",
|
||
|
|
"parent": "permission.role.management",
|
||
|
|
"http_methods": "PUT|DELETE",
|
||
|
|
"http_path": "/api/v1/permissions/role-mappings*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "管理外部角色映射"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "permission.policy.reload",
|
||
|
|
"parent": "permission.role.management",
|
||
|
|
"http_methods": "POST",
|
||
|
|
"http_path": "/api/v1/permissions/policy/reload",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "強制重載 Casbin policy"
|
||
|
|
},
|
||
|
|
|
||
|
|
{
|
||
|
|
"name": "tenant.management",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "租戶管理(平台級)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "tenant.read",
|
||
|
|
"parent": "tenant.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/tenants*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "讀取租戶資訊"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "tenant.write",
|
||
|
|
"parent": "tenant.management",
|
||
|
|
"http_methods": "POST|PATCH|DELETE",
|
||
|
|
"http_path": "/api/v1/tenants*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "管理租戶"
|
||
|
|
},
|
||
|
|
|
||
|
|
{
|
||
|
|
"name": "scim.management",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "SCIM 同步(分類)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "scim.users.read",
|
||
|
|
"parent": "scim.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/scim/v2/Users*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "SCIM Users 讀取"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "scim.users.write",
|
||
|
|
"parent": "scim.management",
|
||
|
|
"http_methods": "POST|PATCH|PUT|DELETE",
|
||
|
|
"http_path": "/scim/v2/Users*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "SCIM Users 寫入"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "scim.groups.read",
|
||
|
|
"parent": "scim.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/scim/v2/Groups*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "SCIM Groups 讀取"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "scim.groups.write",
|
||
|
|
"parent": "scim.management",
|
||
|
|
"http_methods": "POST|PATCH|PUT|DELETE",
|
||
|
|
"http_path": "/scim/v2/Groups*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "SCIM Groups 寫入"
|
||
|
|
},
|
||
|
|
|
||
|
|
{
|
||
|
|
"name": "system.management",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "系統管理(平台級)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "system.audit.read",
|
||
|
|
"parent": "system.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/admin/audit-logs*",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "讀取 audit log"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "system.health.read",
|
||
|
|
"parent": "system.management",
|
||
|
|
"http_methods": "GET",
|
||
|
|
"http_path": "/api/v1/health",
|
||
|
|
"type": "backend_user",
|
||
|
|
"description": "健康檢查"
|
||
|
|
}
|
||
|
|
]
|