feat: implement user profile retrieval with roles and permissions caching

This commit is contained in:
Tran Anh Tuan
2026-05-12 14:36:50 +07:00
parent e81a248a61
commit 902caa222f
17 changed files with 671 additions and 19 deletions

View File

@@ -0,0 +1,7 @@
package models
// Permission represents a system permission (e.g., "read:warehouse", "write:component")
type Permission struct {
Name string `json:"name"`
Description string `json:"description"`
}