OpenapiUser
Get the current user's permission list
Returns the list of all permission names the current user has, used for frontend menu permission control. **has_all field**: Legacy response field kept for compatibility. The user endpoint no longer expands the full set of realm permission definitions and always returns false.
GET
Returns the list of all permission names the current user has, used for frontend menu permission control.
has_all field: Legacy response field kept for compatibility. The user endpoint no longer expands the full set of realm permission definitions and always returns false.
User permissions
application/json- response
has_all*booleanpermissions*array<string>curl -X GET 'https://example.com/api/user/permissions'Example Response
{
"has_all": true,
"permissions": [
"string"
]
}