feat: add sync permissions functionality and UI integration

This commit is contained in:
mlogclub
2026-08-19 15:35:28 +08:00
parent 3b5868689c
commit 954a3fe8d9
9 changed files with 259 additions and 2 deletions
@@ -14,6 +14,12 @@ type PermissionResponse struct {
SortNo int `json:"sortNo"`
}
type PermissionSyncResponse struct {
Created int `json:"created"`
Updated int `json:"updated"`
RolePermissionsAdded int `json:"rolePermissionsAdded"`
}
type RoleResponse struct {
ID int64 `json:"id"`
Name string `json:"name"`