RbacPermissionItem
Schema: RbacPermissionItem
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths: {}
components:
schemas:
RbacPermissionItem:
type: object
description: RBAC permission (MENU/BUTTON/API)
properties:
id:
type: integer
format: int64
description: Permission ID
parentId:
type: integer
format: int64
description: Parent permission ID; top level is 0
permCode:
type: string
description: Permission code (required for BUTTON only; MENU/API may be empty)
permName:
type: string
description: Permission name
icon:
type: string
description: Permission icon (MENU only)
permType:
type: string
enum:
- MENU
- BUTTON
- API
description: MENU / BUTTON / API
path:
type: string
description: MENU=frontend route; API=API path
method:
type: string
description: HTTP method of the API
requireGoogleAuth:
type: boolean
description: Whether the google-code header is required
googleAuthCacheSec:
type: integer
description: Google Auth code cache seconds; 0=no cache
sortNo:
type: integer
description: Sort order
activeState:
allOf:
- $ref: '#/components/schemas/ActiveState'
description: Enabled status
isSystem:
type: integer
format: int64
description: Whether system built-in; 1=yes
x-apifox-orders:
- id
- parentId
- permCode
- permName
- icon
- permType
- path
- method
- requireGoogleAuth
- googleAuthCacheSec
- sortNo
- activeState
- isSystem
x-apifox-folder: ''
ActiveState:
type: string
enum:
- enabled
- disabled
description: Active state (aligned with common/consts.ActiveState)
x-apifox-folder: ''
securitySchemes: {}
servers: []
security: []