feat: implement user profile retrieval with roles and permissions caching
This commit is contained in:
7
internal/models/permission_model.go
Normal file
7
internal/models/permission_model.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user