Autional Autional
API Reference GitHub autional.com →

GET /auth/me/permissions

Return the list of all permission codes for the current user in the tenant, including aggregated results from role inheritance, hierarchical permissions, and direct assignments. Reference: NIST SP 800-53 AC-6, OWASP ASVS V1.2.

Authentication `bearerAuth` application/json

Responses

StatusDescriptionSchema
200Current user's permission code listdto.MyPermissionsResponseWrapper
401Unauthenticated or invalid tokengitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.MyPermissionsResponse

FieldTypeRequiredExampleConstraintsDescription
permissions array of

string

No

dto.MyPermissionsResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.MyPermissionsResponse No
message string No
timestamp string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No